HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DELETE_PORT
3.72.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.72.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_PLU_NAME
The supplied
fqplu_name parameter did not match any defined partner LU name.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.72.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.73 DELETE_PORT
DELETE_PORT deletes a port. This verb also deletes the following:
• All link stations and connection network TGs associated with the port.
• All PUs associated with LSs on the port, all LUs owned by these PUs, and all LU-LU passwords associated
with these LUs.
The port must be inactive when the verb is issued.
3.73.1 VCB Structure
typedef struct delete_port
{
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 port_name[8]; /* name of port */
} DELETE_PORT;
3.73.2 Supplied Parameters
The application supplies the following parameters:
307