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


TERMSESS OPTCD=UNBIND

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

TERMSESS OPTCD=UNBIND causes an UNBIND to flow to the PLU. This UNBIND can contain sense information and an UNBIND SON (UNBIND type) code specified by the SLU. When the SLU application program issues TERMSESS OPTCD=UNBIND to terminate an active session or pending active session (BIND received, BIND response not sent), VTAM® sends an UNBIND to the PLU identified by the CID in the RPLARG or NIBCID field. The application program can set the UNBIND SON code by specifying OPTCD=SONCODE and PARMS=(SONCODE=code) in the RPL. The application program can also include sense information on the UNBIND by specifying PARMS=(SONCODE=X'FE') and putting application-specified sense values into the SSENSEO, SSENSMO, and USENSEO fields of the RPL.

VTAM performs the same functions for ending sessions as it does when the PLU sends UNBIND. That is, session services are informed of session-ended, or UNBIND failed, and so forth. When VTAM receives the UNBIND response from the PLU (whether positive or negative), it completes the TERMSESS processing and posts the request complete.

Refer to TERMSESS—Request session termination, application program is SLU for details on how to specify sense code fields.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014