z/OS DFSMSrmm Implementation and Customization Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 12: Selecting EHPCT volumes for processing automatically

z/OS DFSMSrmm Implementation and Customization Guide
SC23-6874-00

You can select volumes for processing as shown in the example in Figure 1.

Figure 1. Selecting volumes for automatic processing
//INIT     EXEC PGM=EDGINERS,
// PARM='MEDIATYPE(EHPCT),NOVERIFY,BATCH(0),STATUS(NOTMASTER)'
//SYSPRINT DD SYSOUT=*
//TAPE     DD UNIT=(TAPEEH,,DEFER)                                
Control statement description:
  • MEDIATYPE(EHPCT) is used to select only those volumes that are EHPCT media. EDGINERS processing is performed without operator intervention by using the DFSMSrmm control data set as input.
  • BATCH(0) ensures that all volumes that need to be processed are processed.
  • STATUS(NOTMASTER) is used to select only scratch volumes and volumes that are pending release.
  • TAPE DD uses your installation's unit names to select a suitable drive on which to mount EHPCT volumes. Change the TAPEEH value to the value required for your installation. If all tapes are system-managed, you can remove the TAPE DD, because DFSMSrmm dynamically allocates the drives that are required and the TCDB media type ensures the correct drives are allocated.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014