HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (QUERY Verbs)
QUERY_DEFAULT_PU
Chapter 4592
QUERY_DEFAULT_PU
QUERY_DEFAULT_PU allows the user to query the default PU (defined
using DEFINE_DEFAULT_PU).
VCB Structure
typedef struct query_default_pu
{
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 def_pu_name[8]; /* default PU name */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char def_pu_sess[8]; /* PU name of active default session */
unsigned char reserv3[16]; /* reserved */
} QUERY_DEFAULT_PU;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_DEFAULT_PU
Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following
parameters:
primary_rc
AP_OK
def_pu_name
Name of the PU specified on the most recent
DEFINE_DEFAULT_PU verb. This is an 8-byte type-A
EBCDIC string (starting with a letter), padded on the
right with EBCDIC spaces. If this field is set to all