DSPACCAUT (Display Access Code Authority) Command Description
DSPACCAUT Command syntax diagram
Purpose
The Display Access Code Authority (DSPACCAUT) command shows the access codes to which a user or group of users currently have authority. The display shows a list of user profile names, as well as the access codes to which each user is authorized. The access codes are in numeric sequence for each user.
Optional Parameters
- USER
- Specifies the user profile name for which authorized access codes are displayed.
*CURRENT: The user profile that is currently running is used.
*ALL: All user profile names for users in the system distribution directory with access code authority are displayed, as well as the access codes to which those users have authority.
user-profile-name: Specify the name of the user profile for which the access codes are displayed. Up to 300 user profile names can be specified.
- OUTPUT
- Specifies whether the output from the command is shown at the requesting workstation or printed with the job's spooled output. More information on this parameter is in commonly used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.
*PRINT: The output is printed with the job's spooled output.
Example for DSPACCAUT
DSPACCAUT USER(*CURRENT) OUTPUT(*PRINT)This command prints all access codes to which the current user is authorized.
Error messages for DSPACCAUT
*ESCAPE Messages
- CPF9022
- Access code authority not displayed because error occurred.
- CPF9845
- Error occurred while opening file &1.
- CPF9846
- Error while processing file &1 in library &2.
- CPF9847
- Error occurred while closing file &1 in library &2.
- CPF9850
- Override of printer file &1 not allowed.
- CPF9851
- Overflow value for file &1 in &2 too small.