Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
ISGENDOFLQCB — End of Local QCB Exit z/OS MVS Installation Exits SA23-1381-00 |
|
ISGENDOFLQCB is called when the last requester for a LOCAL resource (SCOPE=SYSTEM or RNL excluded SCOPE=SYSTEMS, but not SCOPE=STEP) is DEQed. The ISGENDOFLQCB exit is also called for SCOPE=SYSTEMS resources in a GRS=NONE environment. See ENQ/DEQ Exits Installation in z/OS MVS Planning: Global Resource Serialization for the installation flow through ENQ/DEQ exits. The ISGENDOFLQCB exit point provides the ability to control future calls to this exit point. If the set of ISGENDOFLQCB exit routines indicates that this exit no longer needs to be called for a particular resource QNAME, an entry for that QNAME is added to the GRS Exit Cache. Prior to calling the ISGENDOFLQCB exit point, GRS queries the GRS Exit Cache. If a matching entry is found, and this entry indicates to NOT call the ISGENDOFLQCB exit point, then this exit may be bypassed. To restore processing of a resource through the ISGENDOFLQCB exit, the GRS Exit Cache must be cleared. See, ISGGCECR, ClearCache call in z/OS MVS Programming: Callable Services for High-Level Languages. The parameter list passed to ISGENDOFLQCB is mapped by ISGYQCBP (QCBP). The parameter list describes a resource for which the last requester on this system has been DEQed. Note:
Replacing the Exit RoutineUnlike RNL changes, GRS does not know how an exit alters the resource identity of a request. Therefore, to maintain data integrity, do not make an exit change that alters the resource identity of any outstanding or in-flight ENQ or DEQ requests. The resource identity consists of the QNAME, RNAME, SCOPE, and hardware reserve status. When you make exit changes, first stop the programs that are currently using the resource, and do not resume the programs until all the exit changes in the GRS complex have completed. For information regarding dynamic exit routine replacement, see Replacing a Dynamic Exit Routine. Exit Routine EnvironmentISGENDOFLQCB
receives control in the following environment:
The routine can be invoked in the cross-memory mode with an EUT FRR established that must remain in effect. Therefore, system services or instructions that do not allow FRRs to be active or cause FRRs to be removed cannot be used. This includes the SVC instruction. Exit Recovery is as follows.
Exit Routine ProcessingThe ISGENDOFLQCB exit point is called after the last requester for a local resource (SCOPE=SYSTEM, only) DEQs from that resource. The exit routine is passed a QCBP (mapped by ISGYQCBP) which describes the resource that is being deleted. Programming ConsiderationsObserve
the following conventions when coding an End of Local QCB exit routine:
Entry SpecificationsThe system passes an QCBP parameter list to the exit routine. Registers at Entry: The contents of the registers on entry to the exit are as follows.
Parameter List Contents: Register 1 contains the address of the exit parameter (QCBP) that is mapped by macro ISGYQCBP. Refer to z/OS MVS Data Areas in z/OS Internet Library at http://www.ibm.com/systems/z/os/zos/bkserv/ for the mapping of the ISGYQCBP data area. Return SpecificationsThe ISGENDOFLQCB installation exit sets the appropriate request flag in the parameter list to indicate if ISGENDOFLQCB exit routine will be called again. Registers at Exit: Upon return from the exit processing, the register contents must be as follows.
|
Copyright IBM Corporation 1990, 2014
|