HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DELETE_LU_POOL
Chapter 3 453
DELETE_LU_POOL
DELETE_LU_POOL is used to do one of the following:
Remove one or more LUs from a pool
Remove all LUs from a pool and delete the pool
This verb does not delete the LUs; they remain defined, but are not
associated with any pool.
VCB Structure
typedef struct delete_lu_pool
{
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 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;
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