Determining session type after SCIP exit

After the SCIP exit is driven, the application program checks the RPLVACS bit in the read-only RPL supplied in the parameter list to determine if the session is an LU 6.2 session. If this bit is set on, the application program should respond to the 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

For more details about the SCIP exit, see page SCIP.

When the application program issues the APPCCMD CONTROL=OPRCNTL, QUALIFY=ACTSESS or APPCCMD CONTROL=OPRCNTL, QUALIFY=DACTSESS macroinstruction, it must include the communication identifier (CID) of the session. The CID is found in the parameter list that VTAM® supplies in register 1 when the exit is scheduled. The location of the CID is shown in Table 1.
Table 1. Locating the Communication ID (CID)
Exit CID Location
LOGON Word 6 of the parameter list
SCIP Word 2 of the parameter list
The ARG field on the APPCCMD macroinstruction is set to the CID when the macroinstruction is issued.

For details on the syntax and operands for the macroinstructions, refer to z/OS Communications Server: SNA Programmer's LU 6.2 Reference.