HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DELETE_CN
If the server name includes a . (period) character, SNAplus2 assumes that it is a fully-qualied name;
otherwise it performs a DNS lookup to determine the server name.
3.51.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
secondary_rc
Not used.
3.51.4 Returned Parameters: State Check
If the verb does not execute because of a state check, SNAplus2 returns the following parameters:
primary_rc
AP_STATE_CHECK
secondary_rc
Possible values are:
AP_RECORD_NOT_FOUND
The server name specied is not listed in the le.
AP_CANT_DELETE_LAST_BACKUP
The server name cannot be deleted from the list, because it is the only server listed on which the SNA
software is running (and hence the only server that can currently act as the master). Before attempting
to delete it, either start the SNA software on one or more of the other servers listed, or add one or
more new backup servers (using ADD_BACKUP) and ensure that the SNA software is started on these
servers.
AP_INVALID_TARGET
The target handle on the NOF API call specied a conguration le or a node. This verb must be
issued to the sna.net le.
Appendix B, Common Return Codes lists further secondary return codes associated with AP_STATE_CHECK, which
are common to all NOF verbs.
3.51.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.52 DELETE_CN
DELETE_CN deletes a connection network, or deletes selected ports from a connection network.
This verb is valid only at a network node or an end node, and not at a LEN node.
274