Display System Status (DSPSYSSTS)

The Display System Status (DSPSYSSTS) command allows the user to display or print information about the current status of the system.

Parameters

Keyword Description Choices Notes
OUTPUT Output *, *PRINT Optional, Positional 1
RESET Reset status statistics *NO, *YES Optional
ASTLVL Assistance level *PRV, *USRPRF, *BASIC, *INTERMED, *ADVANCED Optional

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 for interactive jobs or printed with the job's spooled output for non-interactive jobs.
*PRINT
The output is printed with the job's spooled output.

Reset status statistics (RESET)

Specifies whether system status statistics fields are reset to zero, as if this is the first occurrence of the DSPSYSSTS command in this job. The value specified for this parameter does not affect the information presented for *BASIC assistance level.

*NO
The system status statistics are not reset.
*YES
The system status statistics are reset. This will also reset the status statistics on the Work with System Status (WRKSYSSTS) command and the QWCRSSTS API.

Assistance level (ASTLVL)

Specifies which user interface to use.

*PRV
The previously used assistance level is used.
*USRPRF
The assistance level defined in the user profile is used.
*BASIC
The Operational Assistant user interface is used.
*INTERMED
The system user interface is used.
*ADVANCED
The system user interface expert mode is used.

Examples

DSPSYSSTS   OUTPUT(*PRINT)

This command prints the current system status information.

Error messages

None