Examples of how to code the AUTH command

The following examples present different ways to code the AUTH command:

Note: Any values specified here are only examples and should not be interpreted as the values to be used for your system.

Authorizing a user to issue all DFSMShsm commands

The following command allows user ID JXX3154 to add, delete, or change the DFSMShsm authorization of other users.
   AUTH JXX3154 DATABASEAUTHORITY(CONTROL)

Authorizing a user to issue DFSMShsm commands

The following command allows user ID XXX3151 to issue all authorized user commands except the AUTH command. This command can be issued by user ID JXX3154 or placed in the PARMLIB member.
   AUTH XXX3151 DATABASEAUTHORITY

Revoking authority of a user

The following command cancels the authority to issue authorized DFSMShsm commands for user ID XXX3152. This command can be issued by JXX3154 or placed in the PARMLIB member.
   AUTH XXX3152 REVOKE