Command reference / job
WRKSYSSTS
Work with System Status
Lets you work with information about the current status of the system. It shows the number of jobs in the system, the total capacity and percentage in use of the system ASP, temporary storage in use, the percentage of machine addresses used, and statistics for each storage pool with main storage allocated. Statistics are gathered over an elapsed-time interval that can be extended or restarted. The QSYS2.SYSTEM_STATUS_INFO and QSYS2.MEMORY_POOL_INFO views and the QSYS2.SYSTEM_STATUS and QSYS2.MEMORY_POOL table functions provide similar information.
Allowed environments: *ALL.
Positional parameters: 1.
Parameters
OUTPUT
Output
Specifies whether the command output is displayed at the requesting work station or printed with the job's spooled output.
Allowed values:
*, *PRINT
*- Displayed for interactive jobs, or printed with the job's spooled output for non-interactive jobs.
*PRINT- Printed with the job's spooled output.
RESET
Reset status statistics
Specifies whether the system status statistics fields are reset to zero, as if this were the first occurrence of the command in this job.
Allowed values:
*NO, *YES
*NO- The system status statistics are not reset.
*YES- The statistics are reset. This also resets the status statistics on the DSPSYSSTS command and the QWCRSSTS API.
ASTLVL
Assistance level
Specifies which user interface to use.
Allowed values:
*PRV, *USRPRF, *BASIC, *INTERMED, *ADVANCED
*PRV- The previously used assistance level is presented.
*USRPRF- The assistance level defined in the user profile is presented.
*BASIC- The Operational Assistant user interface is used.
*INTERMED- The system user interface is presented.
*ADVANCED- The system user interface expert mode is presented.
Examples
WRKSYSSTS OUTPUT(*PRINT)
Prints the system status information. If OUTPUT(*) is specified instead from an interactive job, the Work with System Status panel is displayed.
Generated from os/cl/catalog/WRKSYSSTS.json and os/cl/help/WRKSYSSTS.json.