HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_LU_0_TO_3
3.32 DEFINE_LU_0_TO_3
The DEFINE_LU_0_TO_3 verb defines an LU for use with 3270 emulation, RJE 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.
Note
If you are configuring a 3270 display LU for use with the SNAplus2 3270 emulation
program, and users may use this LU for file transfer, the host configuration for this LU
must specify DFT mode (3279 configuration), and not CUT mode (screen mode). Although
there will be no difference when using the LU for 3270 emulation, SNAplus2 does not
support CUT mode file transfer. If an LU is configured at the host as CUT mode, any
attempts to transfer files on a session using this LU will fail.
Check the host logmode table entry for the LU with your host administrator. The query bit
in the PSERVIC operand of the MODEENT macro must be set to indicate a DFT mode
LU; this means that the third hexadecimal digit (upper digit of the second byte) of the
PSERVIC operand must be
8.
3.32.1 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_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 */
unsigned char model_name[7]; /* reserved */
unsigned char term_method; /* session termination type */
unsigned char reserv3[16]; /* reserved */
} LU_0_TO_3_DEF_DATA;
199