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


Replenishing scratch volumes in a system-managed library

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

DFSMSrmm sample provided in SAMPLIB

  • EDGXPROC Sample to Replenish Scratch Volumes in a System-Managed Library
  • EDGSETT Sample that you can use in IBM Tivoli Workload Scheduler for z/OS in place of EDGXPROC.

When a tape library detects a low-on-scratch condition, where more scratch volumes are needed, OAM issues WTO messages CBR3660A, CBR3792E, and CBR3794A. DFSMSrmm intercepts these messages and starts the procedure you define with the SCRATCHPROC value in parmlib. See Defining system options: OPTION for more information about specifying SCRATCHPROC. You must run DFSMSrmm with a scratch procedure. You can modify the DFSMSrmm supplied sample, EDGXPROC, to support your location procedures. You can use the scratch procedure to take any action you would like. For example, you can code the procedure to trigger the required inventory management expiration processing job, to run inventory management, or to take no action.

You can use the DFSMSrmm supplied sample procedure, EDGXPROC, which runs DFSMSrmm expiration processing to replenish the automated tape library 's scratch volumes. If you use the DFSMSrmm supplied sample, EDGXPROC, you must define the procedure in the installation procedure library, SYS1.PROCLIB as described in Step 8: Updating the procedure library.

You can modify this procedure, for example, to alert the operator if scratch volumes are not replenished. Figure 1 shows the EDGXPROC procedure.

Figure 1. EDGXPROC procedure
//EDGXPROC PROC OPT=EXPROC
//EDGHSKP  EXEC PGM=EDGHSKP,
//         PARM='&OPT.'
//SYSPRINT DD SYSOUT=*
//MESSAGE  DD DSN=MESSAGE.FILE.NAME,DISP=SHR

DFSMSrmm keeps track of the time and date the procedure starts and when it last ran expiration processing to ensure that one procedure completes processing before a new procedure begins. You can display this information by using the RMM LISTCONTROL subcommand with the CNTL operand.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014