-GLID (Global authorization ID)
The -GLID command sets the global authorization ID (GLID) for worklist execution.
When this command is used, the -SETS and -AUTH reset commands (-SETS USER or -AUTH USER) set the current authorization ID to the GLID, instead of the authorization ID of the user who is executing the worklist.
Example of -GLID command
The -GLID command allows a user to generate a worklist that executes under a particular authorization ID. You might use this feature when the authorization ID running the worklist does not have the necessary Db2 authorization for actions in the worklist. You can use the -GLID command to set the -GLID to a secondary authorization ID that has the necessary authorization.
The -GLID command can exit to an installation-supplied security exit. You can use this exit for additional authorization ID control. For information about the security exit and about using 8-byte authorization IDs, see Getting-started.
For information about the AUTHSW option, see Authorizations-used-for-authorization-switching. This option determines whether -AUTH, -SETS, or both commands are used for authorization ID switching.
Related topic