HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_DEFAULT_PU
Chapter 3 191
DEFINE_DEFAULT_PU
DEFINE_DEFAULT_PU specifies which PU is the default for handling
SNAplus2 management services data. Only one default PU for each node
can be defined at any time; a second DEFINE_DEFAULT_PU verb for a
different PU name overrides the previous definition.
DEFINE_DEFAULT_PU enables the user to define, redefine, or modify
any field of a default PU. This verb also enables the user to delete the
default PU, by specifying a null PU name.
If an application issues the MS API verb TRANSFER_MS_DATA
without specifying a PU name, then the data is routed to the default PU
defined for the local node, and sent on this PU's session with the host
SSCP. For more information about TRANSFER_MS_DATA, see the
HP-UX SNAplus2 MS Programmers Guide.
VCB Structure
typedef struct define_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 pu_name[8]; /* PU name */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char reserv3[16]; /* reserved */
} DEFINE_DEFAULT_PU;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEFINE_DEFAULT_PU
pu_name
Name of the default PU; this must be a PU name
defined by a previous DEFINE_LS verb. This is an
8-byte type-A EBCDIC string (starting with a letter),
padded on the right with EBCDIC spaces if necessary.