Display User Print Info (DSPUSRPRTI)

The Display User Print Information (DSPUSRPRTI) command displays the user print information for the specified user profile.

Parameters

Keyword Description Choices Notes
USER User Name, *CURRENT Optional, Positional 1
OUTPUT Output *, *PRINT Optional, Positional 2

User (USER)

Specifies the name of the user whose print information is to be displayed.

*CURRENT
The user profile under which the current job is running is used.
name
Specify the name of the user whose user print information is to be displayed.

Output (OUTPUT)

Specifies whether the output from the command is shown at the requesting work station or printed with the job's spooled output. More information on this parameter is in the CL topic collection in the Programming category in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/ book.

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

Examples

DSPUSRPRTI   USER(FEIST)

This command displays the user print information for user profile FEIST.

Error messages

*ESCAPE Messages

CPF2204
User profile &1 not found.
CPF2217
Not authorized to user profile &1.
CPF2247
Internal security object not available. Reason code &1.