HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
RESET_SESSION_LIMIT
3.172 RESET_SESSION_LIMIT
The RESET_SESSION_LIMIT verb requests SNAplus2 to reset the session limits for a particular LU-LU-mode
combination. Sessions may be deactivated as a result of processing this verb.
3.172.1 VCB Structure
typedef struct reset_session_limit
{
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 */
unsigned char plu_alias[8]; /* partner LU alias */
unsigned char fqplu_name[17]; /* fully qualified partner LU name*/
unsigned char reserv3; /* reserved */
unsigned char mode_name[8]; /* mode name */
unsigned char mode_name_select; /* select mode name */
unsigned char set_negotiable; /* set max negotiable limit to */
/* zero? */
unsigned char reserv4[8]; /* reserved */
unsigned char responsible; /* who is responsible for */
/* deactivation */
unsigned char drain_source; /* drain source */
unsigned char drain_target; /* drain target */
unsigned char force; /* force */
AP_UINT32 sense_data; /* sense data */
} RESET_SESSION_LIMIT;
3.172.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_RESET_SESSION_LIMIT
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.
plu_alias
LU alias of the partner LU.
703