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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DCOLLECTvvMIGRATEDATA creates data records <strong>for</strong> all migrated data sets that reside onthis system.BACKUPDATA creates data records <strong>for</strong> all backed up data sets on this system.Combination of Options: Example 4In this example, four different volume serial numbers and four different storagegroup names are used. In<strong>for</strong>mation is collected from migrated data sets andcapacity planning in<strong>for</strong>mation is retrieved.//COLLECT4 JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//MCDS DD DSN=HSM.MCDS,DISP=SHR//BCDS DD DSN=HSM.BCDS,DISP=SHR//OUTDS DD DSN=USER.DCOLLECT.OUTPUT,// STORCLAS=LARGE,// DSORG=PS,// DCB=(RECFM=VB,LRECL=644,BLKSIZE=0),// SPACE=(1,(10,10)),AVGREC=M,// DISP=(NEW,CATLG,KEEP)//SYSIN DD *DCOL -OFILE(OUTDS) -VOL(SYS100, SYS101, SYS200, SYS201) -STOG(STGGP100, STGGP101, STGGP200, STGGP201) -MIGD -CAPD/*Job control language statement:vThe DD statement OUTDS describes the sequential output data set whererecords from data collection is written.The DCOLLECT command defines which data is to be collected.Parameters are:v OFILE identifies the output data set (USER.DCOLLECT.OUTPUT) by ddname.vvvvVOL names the volume from which data is to be collected. In this example, VOLis used to collect data <strong>for</strong> the on line volumes SYS100, SYS101, SYS200 andSYS201.STOG names the storage group from which data is to be collected. In thisexample, STOG is used to collected data from all online volumes that reside instorage groups STGGP100, STGGP101, STGGP200 and STGGP201.MIGD creates data records <strong>for</strong> all migrated data sets that reside on this system.CAPD includes capacity planning in<strong>for</strong>mation in the output data set.Collection of SMS Construct In<strong>for</strong>mation: Example 5This example uses the SMSDATA keyword to extract the construct definitions froma named SCDS.//COLLECT5 JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//OUTDS DD DSN=USER.DCOLLECT.OUTPUT,// STORCLAS=LARGE,// DSORG=PS,// DCB=(RECFM=VB,LRECL=32756,BLKSIZE=0),// SPACE=(1,(10,10)),AVGREC=K,// DISP=(NEW,CATLG,KEEP)Chapter 11. DCOLLECT 121

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

Saved successfully!

Ooh no, something went wrong!