HP-UX SNAplus2 NOF Programmer's Guide
Common Return Codes
State Check
Appendix A 1191
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
One of the following:
AP_CANT_MODIFY_VISIBILITY
You have attempted to define a
resource with a name that is reserved
for use internally by SNAplus2.
Please choose a different name.
AP_FILE_LOCK_FAILED
The application issued
SET_PROCESSING_MODE to
change to commit mode, but
SNAplus2 failed to get a lock on the
configuration file. This can be
because another NOF API
application or SNAplus2 component
is already accessing the file.
AP_FILE_UNLOCK_FAILED
The application issued
SET_PROCESSING_MODE to
change from commit mode to one of
the other modes, but SNAplus2 failed
to release its lock on the
configuration file. In order to free the
file when this error occurs, SNAplus2
closes the application's handle to the
file. The application must issue
OPEN_FILE again, to obtain a new
file handle, before attempting to issue
any more verbs to this file.
AP_FILE_UNAVAILABLE