z/OS Communications Server: SNA Programming
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Other exit routines

z/OS Communications Server: SNA Programming
SC27-3674-00

9

In addition to the LOGON and RESP exit routines, VTAM® provides automatic scheduling of other special-purpose exit routines. For example, VTAM schedules the LERAD and SYNAD exit routines when the application program issues a macroinstruction that uses an RPL (such as SEND or RECEIVE) and when that macroinstruction results in an error or a special condition. The addresses of these special-purpose exit routines are identified to VTAM in an EXLST macroinstruction (in the data declarations area). The ACB, NIB, or both point to the EXLST.

VTAM also provides another general kind of exit routine, the RPL exit routine. An RPL exit routine is identified in the EXIT operand of an RPL-based macroinstruction (any macroinstruction that uses an RPL). A different RPL exit routine can be identified in each RPL-based macroinstruction, or some macroinstructions can use the same exit routine. When the operation requested in the macroinstruction is completed, control is automatically given to the exit routine specified in the EXIT operand. Having an RPL exit routine scheduled upon completion of a request is an alternative to having VTAM post an ECB upon completion.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014