When you specify CUSTOM, MANUAL, or CUSTOM_MANUAL for a failure type parameter, a user-created custom or manual script is executed with a reason code specific to that failure type. Table 6-3 lists the reason codes associated with each failure type.
Code  | 
Failure type  | 
Description  | 
|---|---|---|
1000  | 
CMON_FAIL_ACTION  | 
The Adaptive Server cannot be connected to because it is not running.  | 
1001  | 
CMON_FAIL_ACTION  | 
The number of connections to the Adaptive Server has exceeded the maximum user connections limit.  | 
1004  | 
SVR_FAIL_ACTION  | 
A primary Adaptive Server failed, and a restart or failover is necessary.  | 
1005  | 
NET_FAIL_ACTION  | 
The network of the local OpenSwitch host is disabled.  | 
1006  | 
CMP_FAIL_ACTION  | 
The companion OpenSwitch stops unexpectedly.  | 
2000  | 
CMON_FAIL_ACTION  | 
The user name or password for the CMON user is invalid on this Adaptive Server.  | 
3000  | 
CMON_FAIL_ACTION  | 
An unknown error was encountered while starting the CMON thread. Check the Adaptive Server to make sure that it is accepting connections.  |