HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_LU62_TIMEOUT
3.30.6 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.31 DEFINE_LU62_TIMEOUT
The DEFINE_LU62_TIMEOUT verb defines a timeout period for unused LU 6.2 sessions. Each timeout is for a
specified resource type and resource name. If a DEFINE_* verb is issued for a resource type and name pair already
defined, the command overwrites the previous definitions. New timeout periods are only used for sessions activated
after the definition is changed.
If more than one relevant timeout period is defined for a session, the shortest period applies.
3.31.1 VCB Structure
typedef struct define_lu62_timeout
{
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 resource_type; /* resource type */
unsigned char resource_name[17]; /* resource name */
AP_UINT16 timeout; /* timeout */
} DEFINE_LU62_TIMEOUT;
3.31.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEFINE_LU62_TIMEOUT
resource_type
Specifies the type of timeout to be defined. Possible values are:
AP_GLOBAL_TIMEOUT
Timeout applies to all LU 6.2 sessions for the local node. The resource_name parameter should be set
to all zeros.
AP_LOCAL_LU_TIMEOUT
Timeout applies to all LU 6.2 sessions for the local LU specified in the resource_name parameter.
AP_PARTNER_LU_TIMEOUT
Timeout applies to all LU 6.2 sessions to the partner LU specified in the resource_name parameter.
AP_MODE_TIMEOUT
Timeout applies to all LU 6.2 sessions on the mode specified in the resource_name parameter.
resource_name
197