WRKSYSSTS (Work with System Status)
WRKSYSSTS Command syntax diagram
Purpose
The Work with System Status (WRKSYSSTS) command allows you to work with information about the current status of the system. It displays the number of jobs currently in the system, the total capacity of the system auxiliary storage pool (ASP), the percentage of the system ASP currently in use, the amount of temporary storage currently in use, the percentage of machine addresses used, and statistical information related to each storage pool that currently has main storage allocated to it. The statistical information is gathered during an identified time interval (shown as the elapsed time); the data can either be updated by extending the measurement time interval, or it can be restarted to show statistics for the interval starting with the previous display.
Optional Parameters
- OUTPUT
- Specifies whether the output is displayed at the requesting work station or printed with the job's spooled output. More information on this parameter is in commonly used parameters.
*: 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.
- RESET
- Specifies whether system status statistics fields are reset to zero, as if this is the first occurrence of the WRKSYSSTS command in this job.
*NO: The system status statistics are not reset.
*YES: The system status statistics are reset.
- ASTLVL
- Specifies which user interface to use.
*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 presented.
*INTERMED: The system user interface is presented.
*ADVANCED: The system user interface expert mode is presented.
Example for WRKSYSSTS
WRKSYSSTS OUTPUT(*PRINT)This command allows you to work with the system status information and directs it to the job's output spooling queue for printing. If OUTPUT(*) is specified instead and the command was entered from a work station, the information about the system is displayed at the work station.
Error messages for WRKSYSSTS
*ESCAPE Messages
- CPF1009
- Statistics elapsed time too long. Start time reset.
- CPF1882
- Value for paging option not valid.
- 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.
- CPF9871
- Error occurred while processing.