Display Work Station User (DSPWSUSR)

Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The Display Work Station User (DSPWSUSR) command allows you to display information about your current session. Information shown includes:

Top

Parameters

Keyword Description Choices Notes
OUTPUT Output *, *PRINT Optional, Positional 1
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 (if requested by a secondary interactive job) or printed with the job's spooled output (if requested by a batch job).
*PRINT
The output is printed with the job's spooled output.
Top

Examples

DSPWSUSR   OUTPUT(*)

This command displays the information describing the current job.

Top

Error messages

None

Top