Work with Disk Status (WRKDSKSTS)

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.

Parameters

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

Examples

WRKDSKSTS   OUTPUT(*PRINT)

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

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.