Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Create Authorization List (CRTAUTL) command creates an authorization list. Authorization lists are used to give a set of users specific authorities to an object or a set of objects. Each user has the authorities to all of the objects. When an authorization list is granted authority to an object, the users on the list get authority to the object. The authorities they receive are those specified for them in the authorization list.
A user's authority on an authorization list can be overridden by granting the user specific authority to the object. Specific authorities override the user's authority specified in the authorization list. Specific authorities override the user's group authority, if both are specified.
If public authority specified for the object is *AUTL, then the public authority specified on the authorization list is used.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
AUTL | Authorization list | Name | Required, Positional 1 |
TEXT | Text 'description' | Character value, *BLANK | Optional |
AUT | Authority | *CHANGE, *ALL, *USE, *EXCLUDE | Optional, Positional 2 |
Top |
Specifies the authorization list to be created.
This is a required parameter.
Top |
Specifies the text that briefly describes the object.
Top |
Specifies the authority you are giving to users who do not have specific authority for the object, who are not on an authorization list, and whose group profile or supplemental group profiles do not have specific authority for the object.
Top |
CRTAUTL AUTL(PROGMR) AUT(*CHANGE) TEXT('Programmers authorization list')
This command creates an authorization list (PROGMR). If an object whose authority comes from the authorization list has specified USER(*PUBLIC) as AUT(*AUTL), the users who do not have specific authority and whose group does not have specific authority to the object are given *CHANGE authority for the object secured by this authorization list.
Top |
*ESCAPE Messages
Top |