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


Determining session type after LOGON exit

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

After the LOGON exit is driven, the application program checks the CINIT to determine whether the session is an LU 6.2 session. If bytes 14 and 15 of the BIND image in the CINIT are X'0602', the CINIT represents an LU 6.2 session. (The high order bit of byte 14 is not used in the comparison of bytes 14 and 15 to X'0602'.) If, in addition, the RPLVACS bit is on in the read-only RPL, the session is VTAM-initiated.

The application program can respond to a VTAM-initiated LU 6.2 session request with one of the following macroinstructions:
  • APPCCMD CONTROL=OPRCNTL, QUALIFY=ACTSESS to accept new sessions
  • APPCCMD CONTROL=OPRCNTL, QUALIFY=DACTSESS to reject new sessions

If the session is not VTAM-initiated, the application program can change the session parameters to create a non-LU 6.2 session and accept the session with a non-LU 6.2 record API macroinstruction. For more details about the LOGON exit, see LOGON.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014