Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Open/EOV Nonspecific Tape Volume Mount Exit z/OS DFSMS Using Data Sets SC23-6855-00 |
|||||||||||||
This user exit gives you the option of identifying a specific tape volume to be requested in place of a nonspecific (scratch) tape volume. An X'17' in the DCB exit list (EXLST) activates this exit (see DCB Exit List). This exit, which supports only IBM standard labeled tapes, was designed to be used with the Open/EOV volume security and verification user exit. However, this exit can be used by itself. Open or EOV calls this exit when either must issue mount message IEC501A or IEC501E to request a scratch tape volume. Open issues the mount message if you specify the DEFER parameter with the UNIT option, and either you did not specify a volume serial number in the DD statement or you specified 'VOL=SER=SCRTCH'. EOV always calls this exit for a scratch tape volume request. This user exit gets control in the key and state of the program
that issued the OPEN or EOV, and no locks are held. This exit must
provide a return code in register 15.
Note: A value other than 0 or 4 in register 15 is treated
as a 0.
If OPEN or EOV finds that the volume pointed to by register 0 is being used either by this or by another job (an active ENQ on this volume), it calls this exit again and continues to do so until you either specify an available volume serial number or request a scratch volume. If the volume you specify is available but is rejected by OPEN or EOV for some other reason (I/O errors, expiration date, password check, and so forth), this exit is not called again. When this exit gets control, register 1 points to the parameter list described by the IECOENTE macro. Figure 1 shows this parameter list. Figure 1. IECOENTE
Macro Parameter List
When this user exit is entered, the general registers contain the information in Table 1 for saving and restoring.
You do not have to preserve the contents of any register other than register 14. The operating system restores the contents of registers 2 through 13 before it returns to OPEN or EOV and before it returns control to the original calling program. Do not use the save area pointed to by register 13; the operating system uses it. If you call another routine, or issue a supervisor or data management macro in this user exit, you must provide the address of a new save area in register 13. |
Copyright IBM Corporation 1990, 2014
|