Previous Topic: REMOVE Function—Remove Resource Ownership or ResourcesNext Topic: RENAME Function—Change ID Assigned to ACID


Examples: REMOVE function

This example adds the keywords removed by the following commands:

TSS ADD(user1) NOLCFCHK 
               TSOLPROC(proc396)
               TSOJCLASS(a)

This example removes the keywords explicitly:

TSS REMOVE(user1) NOLCFCHK
                  TSOLPROC(proc396)
                  TSOJCLASS(a)

This example removes the keywords implicitly:

TSS REMOVE(user1) NOLCFCHK
                  TSOLPROC()
                  TSOJCLASS()

Note: When removing a list of keywords, it is sometimes possible to exclude the parentheses on the last operand of the command like this:

TSS REMOVE(user1) NOLCFCHK
                  TSOLPROC()
                  TSOJCLASS

When removing a resource from a user, the resource subfield must be specified. For example, the data set name added with the following command can only be removed explicitly:

TSS ADD(user1) DSNAME(xxxxxxx.yyyyyyy.zz)

The following will remove the resource:

TSS REMOVE(user1) DSNAME(xxxxxxx.yyyyyyy.zz)

The following will not remove the resource:

TSS REMOVE(user1) DSNAME()

Avoid mixing unrelated resources, fields, and keywords in the same ADD/REMOVE command for a user, to avoid ambiguities that might not be anticipated.