HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEACTIVATE_SESSION
opcode
AP_DEACTIVATE_LU_0_TO_3
lu_name
LU name of the 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.
3.9.3 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 specied LU (implying that the session has already been deactivated).
primary_rc
AP_OK
3.9.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_INVALID_LU_NAME
The
lu_name parameter did not match any dened 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.9.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.10 DEACTIVATE_SESSION
The DEACTIVATE_SESSION verb requests SNAplus2 to deactivate a particular session, or all sessions on a
particular mode.
This verb must be issued to a running node.
3.10.1 VCB Structure
typedef struct deactivate_session
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
103