Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
NSL Volume Verification with Dynamic Device Reconfiguration (NSLREPOS) z/OS DFSMS Installation Exits SC23-6850-01 |
|
If you use nonstandard tape labels and you want to use the dynamic device reconfiguration (DDR) option, you need an exit routine to perform volume verification. When your NSLREPOS routine receives control from the DDR tape reposition routine, register 2 contains a pointer to an XCTL list. This list contains the module name to which you transfer control when you return control to DDR. Register 5 points to a buffer containing the first 48 bytes of a record of your label. The serial number of the volume against which verification is made is in the UCBVOL1 field of the UCB. Register 7 contains the UCB address. If NSLREPOS gives return code 0, 12, or 16, the system's reposition routine repositions the tape. With a reel tape, this requires a count of the blocks from the labels or tape mark and this may depend on application program logic. With a cartridge tape, repositioning does not require a block count; the system uses a block identifier which is faster and more reliable. Your NSLREPOS routine is not link-edited with any IBM-supplied routine. It resides in LPA and can have any valid combination of AMODE and RMODE. All the supplied areas reside below the 16MB line. OPEN, EOV, and CLOSE will always turn the DEB31UCB on in the work area to signify that DXDEBUCB is a 31–bit UCB address. Although the UCB address field will be four bytes, it typically will contain a three-byte address. The modeset byte is moved from the DEBSDVM field to the DEBSDVMX field to enable 31–bit UCB addresses to be accommodated. Before returning control, your routine should put one of these codes into register 0:
If NSLREPOS uses any registers other than register 0 or 14, the routine must save the registers in subpool 245 (using a GETMAIN macro) and store them in its own area before returning control to the tape reposition routine. When your NSLREPOS routine returns control to DDR, use this sequence:
|
Copyright IBM Corporation 1990, 2014
|