HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DELETE_BACKUP
Chapter 3410
primary_rc
AP_OK
secondary_rc
Not used.
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 specified is not
listed in the file.
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 specified a configuration file or a
node. This verb must be issued to the
sna.net file.
Appendix A, “Common Return Codes,” lists further secondary return
codes associated with AP_STATE_CHECK, which are common to all NOF
verbs.