HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_CN
Chapter 3 173
port_name
Array of up to eight port names defined on the
connection network. Each port name is an 8-byte
ASCII string, padded on the right with spaces if the
name is shorter than 8 bytes, and must already have
been defined by a DEFINE_PORT verb. Additional
ports may be defined on the Connection Network by
issuing another DEFINE_CN specifying the new port
names.
Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following
parameter:
primary_rc
AP_OK
Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2
returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
Possible values are:
AP_DEF_LINK_INVALID_SECURITY
The
security
parameter was not set
to one of the valid values.
AP_EXCEEDS_MAX_ALLOWED
Adding the specified number of ports
would exceed the maximum total
number of ports on a CN.
AP_INVALID_CN_NAME
The
fqcn_name
parameter contained
a character that was not valid or was
not in the correct format.
AP_INVALID_NUM_PORTS_SPECIFIED
The
num_ports
parameter was not
set to a valid value.