HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_RJE_WKSTN
Chapter 3 371
DEFINE_RJE_WKSTN
DEFINE_RJE_WKSTN defines a workstation for use by a group of
SNAplus2 RJE users.
This verb must be issued to the domain configuration file.
VCB Structure
typedef struct de
fine_rje_wkstn
{
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 workstation_name[4]; /* workstation name */
RJE_WKSTN_DEF_DATA def_data;
} DEFINE_RJE_WKSTN;
typedef struct rje_wkstn_def_data
{
unsigned char description[32]; /* Description - null */
/* terminated */
unsigned char reserv1[16]; /* reserved */
unsigned char primary_user[32]; /* primary user name */
unsigned char group_name[32]; /* group name */
unsigned char system_name[64]; /* computer where workstation */
/* runs */
AP_UINT16 num_lus; /* number of LUs used by wkstn */
unsigned char lu_name[5][8]; /* names of LUs */
} RJE_WKSTN_DEF_DATA;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEFINE_RJE_WKSTN
workstation_name