HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DELETE_LU_POOL
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char pool_name[8]; /* LU pool name */
AP_UINT16 num_lus; /* Number of specified LUs */
unsigned char lu_names[10][8]; /* LU names */
} DELETE_LU_POOL;
3.70.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DELETE_LU_POOL
pool_name
Name of the LU pool. This is an 8-byte EBCDIC string, padded on the right with spaces if the name is
shorter than 8 characters.
num_lus
The number of LUs to be removed (the number of LU names in the
lu_names list). The range is 1–10 when
removing LUs from a pool without deleting it. To remove all LUs from the pool and delete the pool, specify
zero.
lu_names
To remove one or more LUs from the pool without deleting the pool, specify the names of the LUs to be
removed. The number of names specified must match the num_lus parameter. Each name is an 8-byte type A
EBCDIC string (starting with a letter), padded on the right with EBCDIC spaces if the name is shorter than
8 characters.
If num_lus is set to zero, to remove all LUs from the pool and delete the pool, this parameter is not used.
3.70.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.70.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_POOL_NAME
The supplied pool name was not valid.
AP_INVALID_LU_NAME
One or more of the specified LU names did not match the name of an LU in the pool.
AP_INVALID_NUM_LUS
304