Command reference / save

WRKDSKSTS

Work with Disk Status

The Work with Disk Status (WRKDSKSTS) command displays and lets you work with performance and status information for the disk units on the system. The QSYS2.SYSDISKSTAT table function and view return 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.

Type
*CHAR
Required
No
Default
*
Length
6
Case
Uppercase

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 disk statistics are reset to zero.

Type
*CHAR
Required
No
Default
*NO
Length
4
Case
Uppercase

Allowed values: *NO, *YES

*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)

Prints a report on the performance and status information for the disk units on the system.

IBM command documentation

Generated from os/cl/catalog/WRKDSKSTS.json and os/cl/help/WRKDSKSTS.json.