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


Combination of Options: Example 4

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

In this example, four different volume serial numbers and four different storage group names are used. Information is collected from migrated data sets and capacity planning information 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:
  • The DD statement OUTDS describes the sequential output data set where records from data collection is written.

The DCOLLECT command defines which data is to be collected.

Parameters are:
  • OFILE identifies the output data set (USER.DCOLLECT.OUTPUT) by ddname.
  • VOL names the volume from which data is to be collected. In this example, VOL is used to collect data for the on line volumes SYS100, SYS101, SYS200 and SYS201.
  • STOG names the storage group from which data is to be collected. In this example, STOG is used to collected data from all online volumes that reside in storage groups STGGP100, STGGP101, STGGP200 and STGGP201.
  • MIGD creates data records for all migrated data sets that reside on this system.
  • CAPD includes capacity planning information in the output data set.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014