z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Listing Subsystem Counters for All Devices within a Subsystem: Example 2

z/OS DFSMS Access Method Services Commands
SC23-6846-01

In this example, a Subsystem Counters report for all devices within a subsystem is requested.
     //LISTDAT2  JOB   ...
     //STEP1     EXEC  PGM=IDCAMS
     //OUTDD     DD    DSN=OUTDS,DISP=(NEW,KEEP),VOL=SER=OUTVOL,
     //          UNIT=3480,DCB=(RECFM=VBA,LRECL=125,BLKSIZE=629)
     //SYSPRINT  DD    SYSOUT=A
     //SYSIN     DD    *
       LISTDATA COUNTS VOLUME(VOL002) UNIT(3390) SUBSYSTEM OUTFILE(OUTDD)
     /*
The OUTDD DD statement allocates the output data set (DSN=OUTDS) on tape (UNIT=3480) for use by the LISTDATA command. The DCB parameter is required for the alternate output data set if it is new. The LISTDATA command parameters are:
  • COUNTS, which specifies printing of a Subsystem Counters report.
  • VOLUME, which specifies volume VOL002. UNIT, which specifies a 3390 unit.
  • SUBSYSTEM, which specifies that the Subsystem Counters report include counters for devices within the subsystem.
  • OUTFILE, which specifies OUTDD as the name of the DD statement identifying the data set used to contain the report.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014