HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEACTIVATE_LU_0_TO_3
Chapter 3154
DEACTIVATE_LU_0_TO_3
The DEACTIVATE_LU_0_TO_3 verb requests SNAplus2 to deactivate
the session for a particular LU for use with 3270 emulation or LUA (an
LU of type 0, 1, 2, or 3) SNAplus2 deactivates the session by sending a
TERM_SELF message to the host for the PLU-SLU session.
This verb must be issued to a running node.
VCB Structure
typedef struct deactivate_lu_0_to_3
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2;
unsigned char format;
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char lu_name[8]; /* LU Name */
} DEACTIVATE_LU_0_TO_3;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEACTIVATE_LU_9_TO_3
lu_name
LU name of the LU, as defined to SNAplus2. This is an
8-byte type-A EBCDIC string, padded on the right with
spaces if the name is shorter than 8 bytes.
Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following
parameters. This return code can also indicate that there was no active
session for the specified LU (implying that the session has already been
deactivated).
primary_rc
AP_OK