HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DELETE_LU_0_TO_3
3.67.1 VCB Structure
typedef struct delete_lu_0_to_3
{
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 lu_name[8]; /* LU name */
} DELETE_LU_0_TO_3;
3.67.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DELETE_LU_0_TO_3
lu_name
Name of the local LU to be deleted. This 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.
3.67.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.67.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
AP_INVALID_LU_NAME
The supplied LU name contained a character that was not valid.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK
,
which are common to all NOF verbs.
3.67.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_INVALID_LU_NAME
The supplied LU name is not the name of an LU dened on the SNAplus2 system.
299