Display Access Code Authority (DSPACCAUT)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Display Access Code Authority (DSPACCAUT) command allows you to show access codes for which a user or group of users 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.

Top

Parameters

Keyword Description Choices Notes
USER User profile Single values: *CURRENT, *ALL
Other values (up to 300 repetitions): Name
Optional, Positional 1
OUTPUT Output *, *PRINT Optional, Positional 2
Top

User profile (USER)

Specifies the user profile name for which authorized access codes are displayed.

*CURRENT
Your access codes are displayed.
*ALL
All user profile names for users in the system distribution directory and their associated access code authority are displayed. Only the users that have associated access codes are displayed.
name
Specify the name of the user profile for which the access codes are to be displayed.
Top

Output (OUTPUT)

Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.

*
The output is displayed at the requesting work station if requested by an interactive job. If this is not an interactive job, the output is printed with the job's spooled output.
*PRINT
The output is printed with the job's spooled output.
Top

Examples

DSPACCAUT   USER(*CURRENT)  OUTPUT(*PRINT)

This command prints all access codes to which the current user is authorized.

Top

Error messages

*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.
Top