Work with Disk Status (WRKDSKSTS)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Work with Disk Status (WRKDSKSTS) command allows you to display and work with performance and status information for the disk units on the system.

Top

Parameters

Keyword Description Choices Notes
OUTPUT Output *, *PRINT Optional, Positional 1
RESET Reset status statistics *NO, *YES Optional
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 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.
Top

Reset status statistics (RESET)

Specifies whether the disk statistics are reset to zero.

*NO
The disk statistics are not reset. The measurement time interval is extended if a previous work with disk status command has started in the current job.
*YES
The disk statistics are reset. A measurement time interval of zero is used.
Top

Examples

WRKDSKSTS   OUTPUT(*PRINT)

This command prints a report on the performance and status information for the disk units on the system.

Top

Error messages

*ESCAPE Messages

CPF1093
Override of file device type not valid.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
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.
Top