HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEACTIVATE_LU_0_TO_3
3.8.4 Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
Possible values are:
AP_DEACT_CG_INVALID_CGID
The conv_group_id parameter did not match any valid conversation group ID.
AP_INVALID_CLEANUP_TYPE
The type parameter was not set to a valid value.
AP_INVALID_LU_ALIAS
The lu_alias parameter did not match any defined LU alias.
AP_INVALID_LU_NAME
The lu_name parameter did not match any defined LU name.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.8.5 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.9 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, RJE 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.
3.9.1 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;
3.9.2 Supplied Parameters
The application supplies the following parameters:
102