Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
RESP exit routine z/OS Communications Server: SNA Programming SC27-3674-00 |
|||||||||||
The RESP exit routine provides a way for VTAM® to notify an application program when a response to a normal-flow request (data or data-flow-control) has arrived. The RESP exit routine is one of three ways an application program
can be notified of receipt of a normal-flow response (other than a
DFSYN response). The other two ways are:
Using an RESP exit routine is an alternative to getting each normal-flow response with a RECEIVE RTYPE=RESP macroinstruction. The advantages and disadvantages of the two alternatives are discussed in Explicit RECEIVEs and EXLST exit routines. If an RESP exit routine is specified in an NIB or ACB EXLST applicable
to the session, whenever a normal-flow response arrives, VTAM can schedule that RESP exit routine. The
detailed manner in which VTAM handles
RESP input is shown in Figure 1 and Figure 3. Certain normal-flow responses
are considered DFSYN input instead of RESP input and therefore do
not schedule an RESP exit. For normal-flow responses other than DFSYN
responses, if a NIB RESP exit routine is specified, it is always scheduled;
however, a specified ACB exit routine is scheduled only if:
For an RESP exit routine, information on the normal-flow response
that has been received is available in a read-only RPL provided by VTAM. This RPL resides in read-only VTAM storage and cannot be used
by RPL-based macroinstructions. The following are also true for this
RPL:
Note: Be aware that an RESP exit routine, which is scheduled for execution
before the application program issues CLSDST, cannot be executed until
after the CLSDST completes.
|
Copyright IBM Corporation 1990, 2014
|