HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DELETE_DLC
3.56.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DELETE_DLC
dlc_name
Name of DLC to be deleted. This is an 8-byte ASCII string, padded on the right with spaces if the name is
shorter than 8 bytes.
3.56.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.56.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_DLC_NAME
The supplied DLC name was not the name of a DLC 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.56.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_DLC_ACTIVE
The DLC cannot be deleted because it is currently active. Use the STOP_DLC verb to stop it before
attempting to delete it.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_STATE_CHECK, which
are common to all NOF verbs.
3.56.6 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.
281