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


TERMSESS OPTCD=TERMQ

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

TERMSESS OPTCD=TERMQ is used to terminate a queued session or pending active session in which the application program is acting as the SLU. For example, if REQSESS has been issued and completed successfully, but the subsequent BIND has not been received, OPTCD=TERMQ could be used to terminate this session. When this OPTCD code is used a name must be provided via the NIB. All sessions that match this name pair and are queued or pending active will be terminated. Active sessions are not affected.
Note:
  1. The SLU application program that issues TERMSESS OPTCD=UNBIND must process the RTNCD, FDB2, and possibly sense information in the RPL to determine if it can discard its representation of the session, or perform some other process (retry the TERMSESS, ABEND, or issues other appropriate macroinstruction).
  2. If the SLU application program issues TERMSESS in lieu of SESSIONC to reject a pending active session (BIND received, BIND response not sent), then OPTCD=UNBIND must be used.
  3. If you are using OPTCD=UNBIND with the TERMSESS macroinstruction, you must specify the CID address in either the ARG or NIB operand. The NIBCID field is only used if PARSESS=YES is coded on the APPL definition statement. If you use the NIB operand, NAME cannot be used.
  4. The PLU can examine the SON code and the SENSE information on the UNBIND only if it has an SCIP exit and if SONSCIP=YES is specified on its APPL definition statement.
  5. The SCIP exit routine is strongly recommended.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014