HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DELETE_LS
AP_DELETE_LOCAL_LU
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.63.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.63.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_CANT_DELETE_CP_LU
The supplied LU name was blank (indicating the LU associated with the CP); this LU cannot be deleted.
AP_INVALID_LU_NAME
The supplied LU name is not the name of a local LU dened on the SNAplus2 system.
Appendix B,
Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.63.5 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.
3.64 DELETE_LS
DELETE_LS deletes a dened Link Station (LS). This verb also deletes the PU associated with the LS, all LUs
owned by this PU, and all LU-LU passwords associated with these LUs. The LS cannot be deleted if it is active.
3.64.1 VCB Structure
typedef struct delete_ls
{
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 */
293