Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
CLEANUP request z/OS Communications Server: SNA Programming SC27-3674-00 |
||||||||||||||||||||||||||||||||||||||||||||||||
The Clean Up Session (CLEANUP) request is sent from the SSCP when a session has been terminated (perhaps because of a network outage). Any outstanding RPLs will still be completed by VTAM®. The parameter list includes the CID for the session and the USERFLD field from the NIB used to establish the session. A CLSDST or TERMSESS macroinstruction should not be used after receipt of CLEANUP for the session because the session is gone; if issued, they fail. CLEANUP can be received by both the PLU and the SLU. If the CLEANUP request is received by a PLU application program and the application program does not have an NSEXIT exit routine, the LOSTERM exit routine (if it exists) is scheduled. See Table 1 for information about session outage notification. Application programs that intend to act as SLUs in any sessions must have an NSEXIT exit routine, or they might not be notified of the loss of those sessions. If UNBIND is received by a PLU application program which does not have an SCIP exit routine or for which SONSCIP=NO is coded on the APPL definition statement, the NSEXIT exit routine (if it exists) is scheduled with CLEANUP. See Table 1 for information about session outage notification. There are several instances where a lost session is reported to the application in the LOSTERM Exit with a reason code of 12 or 20. In the past, if the LOSTERM Exit had already been scheduled with a reason code of 32, this more recent indication of 12 or 32 would be discarded. If the LOSTERM Exit has already been scheduled with a reason code of 32, this more recent indication of 12 or 20 is promoted to a CLEANUP. Therefore, the NSEXIT, if available, is scheduled with a CLEANUP RU. If the NSEXIT is not available, the indication is discarded and whatever caused the attempt to notify the LOSTERM Exit and then the NSEXIT is discarded.
|
Copyright IBM Corporation 1990, 2014
|