HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEACTIVATE_CONV_GROUP
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char lu_name[8]; /* local LU name */
unsigned char lu_alias[8]; /* local LU alias */
AP_UINT32 conv_group_id; /* conversation group identifier */
unsigned char type; /* deactivation type */
unsigned char reserv3[3]; /* reserved */
AP_UINT32 sense_data; /* deactivation sense data */
} DEACTIVATE_CONV_GROUP;
3.8.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEACTIVATE_CONV_GROUP
lu_name
LU name of the local 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. To indicate that the LU is defined 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 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.
conv_group_id
Conversation group identifier for the session to be deactivated.
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 deactivate the session until all 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.
3.8.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
101