Listing Subsystem Counters for a Particular Device: Example 1
In this example, a Subsystem Counters report for a particular device
is requested; this example is valid for any caching model.
//LISTDAT1 JOB ...
//STEP1 EXEC PGM=IDCAMS
//LISTVOL1 DD UNIT=3390,VOL=SER=VOL123,DISP=SHR
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
LISTDATA COUNTS FILE(LISTVOL1) DEVICE
/*
The LISTVOL1 DD statement specifies a 3390 unit and volume VOL123.
The LISTDATA command parameters are:
- COUNTS, which specifies that a Subsystem Counters report be printed.
- FILE, which specifies LISTVOL1 as the DD statement that allocates a 3390 unit and volume VOL123.
- DEVICE, which specifies that the Subsystem Counters report include only subsystem counters for the addressed device.