Sign in

docs ILE Concepts

Use Adopted Authority (QUSEADPAUT)

Use Adopted Authority (QUSEADPAUT)

Use Adopted Authority (QUSEADPAUT)

The QUSEADPAUT system value defines which users can create programs with the use adopted authority (USEADPAUT(*YES)) attribute.

By default the QUSEADPAUT system value has the value *NONE. When *NONE is specified all users can create, change, or update programs and service programs to use adopted authority if the user has the necessary authority to the program or service program. See Security reference to find out what authorities are required.

The system value can contain the name of an authorization list. The user’s authority is checked against this list. If the user has at least *USE authority to the named authorization list, the user can create, change, or update programs or service programs with the USEADPAUT(*YES) attribute. The authority to the authorization list cannot come from adopted authority.

If an authorization list is named in the system value and the authorization list is missing, the function being attempted will not complete. A message is sent indicating this. However, if the program is created with the QPRCRTPG API, and the *NOADPAUT value is specified in the option template, the program will create successfully even if the authorization list does not exist. If more than one function is requested on the command or API, and the authorization list is missing, the function is not performed.

Table 1. Possible Values for QUSEADPAUT

ValuesDescription
authorization list nameA diagnostic message is signaled to indicate that the program is created with USEADPAUT(*NO) if all of the following are true: - An authorization list is specified for the QUSEADPAUT system value. - The user does not have at least *USE authority to the authorization list mentioned above. - There are no other errors when the program or service program is created. If the user has at least *USE authority to the authorization list, the program or service program is created with USEADPAUT(*YES).
*NONEAll users can create, change, or update programs and service programs to use adopted authority if the user has the necessary authority to the program or service program.