HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_DOWNSTREAM_LU
Chapter 3 213
DEFINE_DOWNSTREAM_LU
DEFINE_DOWNSTREAM_LU defines a new downstream LU, and maps
it to an upstream host LU or LU pool (defined using
DEFINE_LU_0_TO_3 or DEFINE_LU_POOL). This allows the
downstream LU to access the host computer using the PU concentration
feature of SNAplus2. This verb cannot be used to modify an existing
downstream LU.
If you need to activate a downstream LU that is already defined (for
example, because the downstream workstation has just been activated),
issue the DEFINE_DOWNSTREAM_LU verb for that LU.
VCB Structure
typedef struct define_downstream_lu
{
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 dslu_name[8]; /* Downstream LU name */
DOWNSTREAM_LU_DEF_DATA def_data; /* Defined data */
} DEFINE_DOWNSTREAM_LU;
typedef struct downstream_lu_def_data
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char nau_address; /* downstream LU nau address */
unsigned char dspu_name[8]; /* Downstream PU name */
unsigned char host_lu_name[8]; /* Host LU or Pool name */
unsigned char allow_timeout; /* Allow timeout of host LU? */
unsigned char delayed_logon; /* Allow delayed logon to */
/* host LU */
unsigned char reserv2[6]; /* reserved */
} DOWNSTREAM_LU_DEF_DATA;
Supplied Parameters
The application supplies the following parameters:
opcode