z/OS Communications Server: SNA Programmer's LU 6.2 Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


When VTAM deactivates sessions

z/OS Communications Server: SNA Programmer's LU 6.2 Guide
SC27-3669-00

VTAM® deactivates sessions only when they are not currently assigned to a conversation and the number of sessions exceeds the negotiated session limits for the mode, and VTAM is responsible for deactivation. If session limits are lowered as the result of a CNOS negotiation, VTAM deactivates sessions to reach the lower session limits.

The negotiated draining value affects when sessions are deactivated. See Draining and session deactivation responsibility for more information on draining.

If the application program specifies ATTNLOSS=ALL on the APPL definition statement, VTAM schedules the ATTN(LOSS) exit when each session is deactivated. Otherwise, VTAM schedules the ATTN(LOSS) exit when the last session on the mode is deactivated.

VTAM returns the RPL6LAST field when the ATTN(LOSS) exit is scheduled. This provides information to the application program about the active sessions for the partner LU. RPL6LAST is found in the ISTRPL6 DSECT. The constant values for RPL6LAST are shown in Table 1.

Table 1. Constant values for RPL6LAST
Value Description
RPL6NLST Sessions exist for the specified mode.
RPL6MOD Last session deactivated for the specified mode.
RPL6NCTL Last session deactivated for non-control modes (all but the SNASVCMG mode).
RPL6ALL All sessions for this LU have been deactivated.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014