09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LISTDATA|||||||||||||||||||||||||||||||||||||||||||||||||||//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) <strong>for</strong> use by the LISTDATA command. The DCB parameter is required<strong>for</strong> the alternate output data set if it is new. The LISTDATA command parametersare:vvvvCOUNTS, 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 includecounters <strong>for</strong> devices within the subsystem.OUTFILE, which specifies OUTDD as the name of the DD statement identifyingthe data set used to contain the report.Listing Subsystem Counters <strong>for</strong> All Devices on SimilarSubsystems: Example 3In this example, a Subsystem Counters report <strong>for</strong> all devices on all like subsystemsis requested.//LISTDAT3 JOB ...//STEP1 EXEC PGM=IDCAMS//OUTDS DD DSN=OUTDATA,DISP=(,CATLG),UNIT=3390,// VOL=SER=VOL001,SPACE=(CYL,(2,1)),// DCB=(RECFM=VBA,// LRECL=250,BLKSIZE=504)//SYSPRINT DD SYSOUT=A//SYSIN DD *LISTDATA COUNTS VOLUME(VOL002) UNIT(3390) ALL OUTDATASET(OUTDATA)/*The OUTDS DD statement allocates the output data set (DSN=OUTDATA) on a3390 <strong>for</strong> use by the LISTDATA command. If an output data set is not allocated, thereport is printed on the SYSPRINT data set. The DCB parameter is required <strong>for</strong> thealternate output data set. The output data set is cataloged in the master catalog(DISP=(,CATLG)). This DD statement allocates two cylinders <strong>for</strong> the output dataset and, if more space is required <strong>for</strong> the report, the space is extended inincrements of one cylinder. The LISTDATA command parameters are:vvvvvCOUNTS, which specifies printing of a Subsystem Counters report.VOLUME, which specifies VOL002.UNIT, which specifies a 3390 unit.ALL, which specifies that the Subsystem Counters report include subsystemcounters <strong>for</strong> all devices on all like subsystems.OUTDATASET, which identifies OUTDATA as the output data set used <strong>for</strong> thereport; rather than the SYSPRINT data set.Listing Subsystem Status: Example 4In this example, a Subsystem Status report is requested.//LISTDAT4 JOB ...//STEP1 EXEC PGM=IDCAMS//LISTVOL2 DD UNIT=3390,VOL=SER=VOL269,DISP=SHRChapter 28. LISTDATA 291

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!