Previous Topic: XCOMMAND Keyword—Command RestrictionsNext Topic: XSUSPEND Keyword—Suspend ACID


Examples: XCOMMAND keyword

This example allows users attached to PROF01 to execute all TSO ISPF commands except for the SPF panels 3.4 and 3.5:

TSS ADDTO(PROF01) XCOMMAND(TSO,(SPF34,SPF35))

The letter G next to the command prefix indicates that the ACID is prohibited from using a command beginning with the prefix specified.

This example indicates that user EJ001 cannot use TSO commands prefixed by SPF or any IBM defined SPF panels:

TSS ADDTO(EJ001) XCOMMAND(TSO,(SPF(G)))

To restrict the use of batch programs:

TSS ADDTO(USER07) XCOMMAND(BATCH,(PROG57))

To restrict all users from commands used in a specific facility:

TSS ADDTO(ALL) XCOMMAND(facility,(commands...))

To remove the XCOMMAND restriction:

TSS REMOVE(EJ001) XCOMMAND(TSO,(SPF(G)))