HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DELETE_BACKUP
primary_rc
AP_STATE_CHECK
secondary_rc
Possible values are:
AP_INVALID_CP_NAME
The specified CP name does not exist.
AP_INVALID_LU_NAME
One or more of the specified LU names does not exist.
3.50.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.
3.51 DELETE_BACKUP
An application uses this verb to delete a server from the list of backup master servers in the sna.net file, so that
this server can no longer act as the master configuration file server.
You can use this verb to delete any server in the list, including the master server, whether or not the SNA software
is running on the server you are deleting. The only restriction is that the list must always contain at least one server
on which the SNA software is running (so that this server can take over as the master server); you cannot delete a
server if it is the only server in the list or if it is the only server listed on which the SNA software is running.
This verb must be issued to the sna.net file.
3.51.1 VCB Structure
typedef struct delete_backup
{
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 backup_name[128]; /* name of server to delete */
unsigned char reserv3[4]; /* reserved */
} DELETE_BACKUP;
3.51.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DELETE_BACKUP
backup_name
The name of the server being deleted from the list of backup servers.
273