Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
EXLST exit routines z/OS Communications Server: SNA Programming SC27-3674-00 |
|
This type of exit routine differs from the RPL exit routine in that it is a special-purpose exit routine. The special purpose is understood by both the VTAM® application program and VTAM. Instead of being specified in a particular RPL-based macroinstruction request, the identity of an EXLST exit routine is established only when the exit list in which its name is specified is identified to VTAM, either when the program is opened or, for certain types of exit routines, when a session is established. In general, EXLST exit routines are special-purpose exit routines, entered only when a somewhat unusual event occurs, such as the VTAM operator's issuance of a HALT command to shut down the network. Here is how EXLST exit routines work:
Note: The scheduling of the LOGON exit (for CINITs) or SCIP
exit (for BINDs) can be delayed by using the SETLOGON macroinstruction.
When the ACB opens, control is given to an asynchronous EXLST exit routine in the addressing mode of the application program. (Asynchronous EXLST exit routines include all EXLST exit routines except SYNAD and LERAD.) When VTAM gives
control to an asynchronous EXLST exit routine, the routine usually
cannot be interrupted even though other pending events are completed;
the exit routine must return control to VTAM before VTAM can give control to other
parts of the application program, including other EXLST or RPL exit
routines that VTAM might have
scheduled. However, when the following special conditions occur, another
asynchronous exit routine can be given control before the currently
running EXLST exit routine completes:
See Operating system facilities for more information about the LERAD, SYNAD, and TPEND exit routines and SRBs. The SYNAD and LERAD exit routines, called inline exit routines, obey different rules than the asynchronous EXLST exit routines. SYNAD and LERAD operate under the same operating system scheduling control block (for example, a TCB or SRB) as the part of the program that issued the RPL-based or CHECK macroinstruction whose issuance caused the SYNAD or LERAD exit routine to be invoked. Thus, SYNAD and LERAD operate essentially as extensions to that part of the program, and are subject to exactly the same interruption conditions as that part of the program. When the application program issues CHECK, the SYNAD and LERAD exit routines are entered in the addressing mode of the application program. For requests with OPTCD=SYN, the addressing mode is in the same mode as the application program that issued the original request. |
Copyright IBM Corporation 1990, 2014
|