SNAX/APC Application Programming Manual

Verb Definitions
SNAX/APC Application Programming Manual138786
3-4
DEACTIVATE-SESSION Verb
DEACTIVATE-SESSION Verb
Use the DEACTIVATE-SESSION verb to deactivate a session explicitly.
DEACTIVATE-SESSION completes immediately; it does not wait for the deactivation
to complete.
A TP must have session-control authorization to use DEACTIVATE-SESSION.
Session-control authorization is determined by the SESSION-CONTROL attribute of the
TPN object that is configured using SCF.
Single Session
At the S1 IPC interface, if the local LU is a single-session LU, the DEACTIVATE-
SESSION verb will be served as follows:
Request Details
REQ-UOW-CODE
This field must contain the value 2002, which identifies the DEACTIVATE-
SESSION verb.
APC-LUNAME
This is the name of the local LU controlling the session to be deactivated.
TYPE
This field specifies the type of deactivation requested. The following symbols are
defined in the SNAX/APC DDL:
Request Format
?SECTION ACTIVATE-SESS-REQ,TANDEM
01 ACTIVATE-SESS-REQ.
02 AS-HEADER.
03 REQ-UOW-ID PIC X(2).
03 REQ-UOW-CODE PIC 9(4) COMP.
02 DA-PARAMETERS.
03 DA-PARTNER-LUNAME PIC X(8).
03 DA-TYPE PIC X(8).
Reply Format
?SECTION ACTIVATE-SESS-REP,TANDEM
01 ACTIVATE-SESS-REP.
02 ASR-HEADER.
03 REP-UOW-ID PIC X(2).
03 REP-VERB-CODE PIC 9(4) COMP.
03 REP-RETURN-CODE PIC S9(4) COMP.
03 REP-RETURN-CODE-DETAIL PIC S9(4) COMP.