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.

DCOLLECT// DCB=(RECFM=VB,LRECL=644,BLKSIZE=0),// SPACE=(1,(100,100)),AVGREC=K,// DISP=(NEW,CATLG,KEEP)//SYSIN DD *DCOLLECT -OFILE(OUTDS) -STORAGEGROUP(STGGP001) -NODATAINFO/*Job control language statements:vOUTDS describes the sequential output data set where records from datacollection 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.vvSTORAGEGROUP names the storage group from which data is to be collected.Data is collected from all on line volumes that reside in storage groupSTGGP001.NODATAINFO says that only volume in<strong>for</strong>mation records are created andwritten to the output data set. No data set in<strong>for</strong>mation is collected and writtento the output data set.Migrated and Backup Data Set Data Collection: Example 3This example shows data collection <strong>for</strong> all migrated and backup data sets thatreside on the system.//COLLECT3 JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//MCDS DD DSN=HSM.MCDS,DISP=SHR//BCDS DD DSN=HSM.BCDS,DISP=SHR//SYSIN DD *DCOLLECT -OUTDATASET(USER.DCOLLECT.OUTPUT) -MIGRATEDATA -BACKUPDATA/*Job control language statements:vvMCDS identifies the Migration Control Data Set. This data set must be identifiedby the ddname MCDS. When using a multicluster CDS, each cluster must beidentified on a separate DD statement. The ddnames are MCDS, MCDS2,MCDS3, and MCDS4.BCDS identifies the Backup Control Data Set. This data set must be identified bythe ddname BCDS. When using a multicluster CDS, each cluster must beidentified on a separate DD statement. The ddnames are BCDS, BCDS2, BCDS3,and BCDS4.The DCOLLECT command defines which data is to be collected.The parameters are:v OUTDATASET names the output data set USER.DCOLLECT.OUTPUT. Whichmust exist be<strong>for</strong>e the job is run. All new data records are appended to the end ofthe data set.120 z/<strong>OS</strong> <strong>V1R6.0</strong> <strong>DFSMS</strong> <strong>Access</strong> <strong>Method</strong> <strong>Services</strong> <strong>for</strong> <strong>Catalogs</strong>

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

Saved successfully!

Ooh no, something went wrong!