HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_LU_0_TO_3
Chapter 3 301
DEFINE_LU_0_TO_3
The DEFINE_LU_0_TO_3 verb defines an LU for use with 3270
emulation or LUA (an LU of type 0, 1, 2, or 3), and optionally assigns the
LU to an LU pool.
If this verb is used to modify an existing LU, only the
description
,
priority
, and
lu_model
parameters can be changed; all other
parameters must be set to their existing values.
VCB Structure
typedef struct define_lu_0_to_3
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char lu_name[8]; /* LU name */
LU_0_TO_3_DEF_DATA def_data; /* defined data */
} DEFINE_LU_0_TO_3;
typedef struct lu_0_to_3_def_data
{
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char nau_address; /* LU NAU address */
unsigned char pool_name[8]; /* LU Pool name */
unsigned char pu_name[8]; /* PU name */
unsigned char priority; /* LU priority */
unsigned char lu_model; /* LU model (type) */
unsigned char sscp_id[6]; /* SSCP ID */
AP_UINT16 timeout; /* Timeout */
unsigned char app_spec_def_data[16]; /* reserved */
} LU_0_TO_3_DEF_DATA;
Supplied Parameters
The application supplies the following parameters:
opcode