11.01.2013 Views

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

► Capacity planning: Capacity planning for DFSMShsm-managed data (inactive data<br />

management) includes the collection <strong>of</strong> both DASD and tape capacity planning.<br />

– DASD Capacity Planning: DCOLLECT provides information and statistics for volumes<br />

managed by DFSMShsm (ML0 and ML1).<br />

– Tape Capacity Planning: DCOLLECT provides statistics for tapes managed by<br />

DFSMShsm.<br />

► SMS configuration information: DCOLLECT provides information about the SMS<br />

configurations. The information can be from either an active control data set (ACDS) or a<br />

source control data set (SCDS), or the active configuration.<br />

Data is gathered from the VTOC, VVDS, and DFSMShsm control data set for both managed<br />

and non-managed storage. ISMF provides the option to build the JCL necessary to execute<br />

DCOLLECT.<br />

DCOLLECT example<br />

With the sample JCL shown in Figure 4-25 you can gather information about all volumes<br />

belonging to storage group STGGP001.<br />

//COLLECT2 JOB ...<br />

//STEP1 EXEC PGM=IDCAMS<br />

//SYSPRINT DD SYSOUT=A<br />

//OUTDS DD DSN=USER.DCOLLECT.OUTPUT,<br />

// STORCLAS=LARGE,<br />

// DSORG=PS,<br />

// DCB=(RECFM=VB,LRECL=644,BLKSIZE=0),<br />

// SPACE=(1,(100,100)),AVGREC=K,<br />

// DISP=(NEW,CATLG,KEEP)<br />

//SYSIN DD *<br />

DCOLLECT -<br />

OFILE(OUTDS) -<br />

STORAGEGROUP(STGGP001) -<br />

NODATAINFO<br />

/*<br />

Figure 4-25 DCOLLECT job to collect information about all volumes in on storage group<br />

Many clients run DCOLLECT on a time-driven basis triggered by automation. In such a<br />

scenario, the peak hours should be avoided due to the heavy access rate caused by<br />

DCOLLECT in VTOC and catalogs.<br />

136 <strong>ABCs</strong> <strong>of</strong> z/<strong>OS</strong> <strong>System</strong> <strong>Programming</strong> <strong>Volume</strong> 3

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

Saved successfully!

Ooh no, something went wrong!