HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEACTIVATE_SESSION
Chapter 3 157
lu_alias
LU alias of the local LU, as defined 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 identifier of the session to deactivate. If this field
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 defined by its fully qualified 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
Do not deactivatethe session untilall
conversations using the session have
ended.
sense_data
If type is set to AP_DEACT_CLEANUP, this parameter
specifies the sense data to be used when deactivating
the session. Otherwise this parameter is not used.
fqplu_name
Fully qualified LU name for the partner LU, as defined
to SNAplus2. This parameter is used only if the
plu_alias
field is set to zeros; it is ignored if
plu_alias
is specified.