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


Storage Group Data Collection: Example 2

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

In this example a storage a group name is specified which causes data to be collected from all on line volumes belonging to that storage group.
//COLLECT2 JOB    ...
//STEP1    EXEC   PGM=IDCAMS
//SYSPRINT DD     SYSOUT=A
//OUTDS    DD     DSN=USER.DCOLLECT.OUTPUT,
//       STORCLAS=LARGE,
//       DSORG=PS,
//       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:
  • 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.
  • STORAGEGROUP names the storage group from which data is to be collected. Data is collected from all on line volumes that reside in storage group STGGP001.
  • NODATAINFO says that only volume information records are created and written to the output data set. No data set information is collected and written to the output data set.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014