HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_LU_POOL
Names of the LUs that are being assigned to the pool. Each of these LUs must already be de
fined to SNAplus2
as an LU of type 0–3. Each LU name is an 8-byte type-A EBCDIC string (starting with a letter), padded on
the right with EBCDIC spaces.
If a specified LU is currently assigned to a different pool, SNAplus2 removes it from that pool (because an
LU cannot be in more than one pool) and assigns it to the pool specified by this verb.
3.35.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.35.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_LU_NAME
One or more of the supplied LU names did not match any defined LU name.
AP_INVALID_POOL_NAME
The
pool_name parameter contained a character that was not valid.
AP_INVALID_NUM_LUS
The num_lus parameter was not set to a valid value.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.35.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
secondary_rc
AP_LU_NAME_POOL_NAME_CLASH
The specified pool name clashes with the name of an LU.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_STATE_CHECK, which
are common to all NOF verbs.
3.35.6 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
210