HP-UX SNAplus2 MS Programmer's Guide

Management Services Verbs
CONNECT_MS_NODE
Chapter 3 53
Returned value for use on future verbs directed to this
node.
Unsuccessful Execution
When a verb does not execute successfully, SNAplus2 returns a primary
return code to indicate the type of error and a secondary return code to
provide specific details about the reason for unsuccessful execution.
Parameter Check If the verb does not execute because of a parameter
error, SNAplus2 returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
AP_INVALID_NODE_NAME The
node_name
parameter did
not match the name of any SNAplus2
node.
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
One of the following:
AP_CONNECT_FAILED
An error occurred in connecting to
the node either because the specified
node is not active or, if a null node
name was specified, because no nodes
are active.
AP_INVALID_TARGET_STATE
The target handle used on the call to
MS was not set to 0 (zero). For
CONNECT_MS_NODE, the target
handle must be set to 0 (zero).
AP_SYNC_PENDING