HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_ADJACENT_LEN_NODE
The specied LU names are wildcard entries.
AP_NO
The specied LU names are explicit entries.
lu_names
The names of the LUs being dened on the LEN node. Each name is an 8-byte type-A EBCDIC character
string, right-padded with EBCDIC spaces, corresponding to the second part of the fully qualied LU name
(the rst part of the fully qualied name is dened by the
cp_name parameter above).
To dene the LU associated with the LEN nodes control point (the CP LU or default LU), specify the nodes
fully qualied CP name in the cp_name parameter, and include the network name part of this name (the 8
characters after the EBCDIC dot) as one of the LU names.
You can specify a wildcard LU name to match multiple LU names, by specifying only the initial characters of
the name. For example, the wildcard LU name LU will match LUNAME or LU01 (but will not match
NAMELU). However, all the LU names specied on a single verb must be of the same type (wildcard or
explicit), as dened by the wildcard_lus parameter. To add both types of LU names for the same LEN node,
use multiple DEFINE_ADJACENT_LEN_NODE verbs.
3.12.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.12.4 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_INVALID_CP_NAME
The cp_name parameter contained a character that was not valid.
AP_INVALID_LU_NAME
One or more of the specied LU names contained a character that was not valid.
AP_INVALID_NUM_LUS
The num_of_lus parameter was not in the valid range.
AP_INVALID_WILDCARD_NAME
The wildcard_lus parameter was set to
AP_YES, but one or more of the specied LU names was already
dened on a different parent node.
3.12.5 Returned Parameters: State Check
If the verb does not execute because of a state error, SNAplus2 returns the following parameters.
primary_rc
AP_STATE_CHECK
110