High Availability Monitors Version A.03.02 Release Notes
NOF API Verbs (REGISTER_INDICATION_SINK to UNREGISTER_INDICATION_SINK)
SET_PROCESSING_MODE
Chapter 51036
AP_INVALID_TARGET_MODE
The
mode
parameter was not valid for the selected
target.
Appendix A, “Common Return Codes,” lists further secondary return
codes associated with AP_PARAMETER_CHECK, which are common to all
NOF verbs.
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_FILE_UNAVAILABLE
The application specified commit mode, but was unable
to get exclusive access to the required configuration
file. This may be because another application is
accessing the file in commit mode.
AP_VERB_IN_PROGRESS
The processing mode for the specified target handle
cannot be changed because a previous verb issued for
this handle is still outstanding. All verbs for the target
handle must be completed before attempting to change
the processing mode.
AP_NOT_MASTER
The processing mode cannot be changed to
AP_MODE_READ_WRITE or AP_MODE_COMMIT because
the target handle specifies a file (either the domain
configuration file or the SNA network data file) on a
backup server that is no longer acting as the master
server. Changes to the running configuration filecan be
made only to the copy of this file on the master (so that
they will be distributed to other servers); other copies
of the file can be accessed only in read-only mode. If the
application needs to use read/write or commit mode, it
should issue CLOSE_FILE for this target handle, and
then reissue OPEN_FILE to access the file on the new