HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
OPEN_FILE
Chapter 3496
Returned Parameters: Other Conditions
Appendix A, “Common Return Codes,” lists further combinations of
primary and secondary return codes that are common to all NOF verbs.
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
Possible values are:
AP_CONNECTION_NOT_MADE
SNAplus2 could not set up the local
communications path to the file.
AP_FILE_BAD_RECORD
SNAplus2 detected an error in the
configuration file. Check the error log
file for a message giving more details
of the error.
AP_FILE_ROLE_UNAVAILABLE
The application requested a master
or backup configuration file, or the
sna.net file, but no master or backup
server wasavailable.Thisis normally
a temporary condition, occurring
when a new server is taking over as
master.
If the application is registered to
receive server indications, it can
check the
flags
parameter on these
indications to determine when a new
server has successfully taken over as
master, and then retry the
OPEN_FILE verb. For more
information, see
“SERVER_INDICATION”.