HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEACTIVATE_SESSION
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char lu_name[8]; /* local LU name */
unsigned char lu_alias[8]; /* local LU alias */
unsigned char session_id[8]; /* session identifier */
unsigned char plu_alias[8]; /* partner LU alias */
unsigned char mode_name[8]; /* mode name */
unsigned char type; /* deactivation type */
unsigned char reserv3[3]; /* reserved */
AP_UINT32 sense_data; /* deactivation sense data */
unsigned char fqplu_name[17]; /* fully qualified partner */
/* LU name */
unsigned char reserv4[20]; /* reserved */
} DEACTIVATE_SESSION;
3.10.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEACTIVATE_SESSION
lu_name
LU name of the local LU, as dened 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. To indicate that the LU is dened by its LU alias instead
of its LU name, set this parameter to 8 binary zeros.
lu_alias
LU alias of the local LU, as dened to SNAplus2. This is an 8-byte ASCII string, using any locally displayable
characters, padded on the right with spaces if the name is shorter than 8 bytes. It is used only if
lu_name is
set to zeros.
To indicate the LU associated with the CP (the default LU), set both lu_name and lu_alias to 8 binary zeros.
session_id
8-byte identier of the session to deactivate. If this eld is set to 8 binary zeros, SNAplus2 deactivates all
sessions for the partner LU and mode.
plu_alias
LU alias of the partner LU.
This is an 8-byte ASCII string, using any locally displayable characters, padded on the right with spaces if
the name is shorter than 8 bytes. To indicate that the partner LU is dened by its fully qualied LU name
instead of its LU alias, set this parameter to 8 binary zeros.
mode_name
Name of the mode to be used by the LUs.
This is an 8-byte alphanumeric type-A EBCDIC string (starting with a letter), padded on the right with
EBCDIC spaces if the name is shorter than 8 bytes.
type
Type of deactivation. Possible values are:
AP_DEACT_CLEANUP
Deactivate the session immediately, without waiting for sessions to end.
AP_DEACT_NORMAL
104