Previous Topic: ATTR Keyword with the RDT—Resource AttributesNext Topic: AUDIT Keyword—ACID Activity


Examples: ATTR keyword

This example adds #PRODUCT to the RDT Record and gives it default protection:

TSS ADDTO(RDT) RESCLASS(#PRODUCT)
               RESCODE(002) 
               ATTR(DEFPROT)

This example removes default protection from resource class #PRODUCT:

TSS REPLACE(RDT) RESCLASS(#PRODUCT)
                 ATTR(NODEFPROT)

To remove the LONG attribute which is already attached to a specific resource class, specify ATTR(SHORT).