The return code equals zero when the -detail argument or -verbose is not used, and one of the status codes in the following table is returned via stdout.

Table 1. Return code zero status code
If the status code is . . . It reflects the status for . . .
1xxx The server
2xxx The control agent
3xxx The agent

See the following table for a list and description of the possible status code values. A query on the source produces a resulting value that is 1xxx or 6xxx. A query on the target produces a value that is 2xxx or 3xxx.

Table 2. Status code values
Status Class Detail status Value
100 Connecting. Initial connection. 1001
100 Connecting. Initializing. 1002
100 Connecting. Server Initialization. 6001
100 Connecting. Connecting to Agents. 6002
100 Connecting. Configuring Agent(s). 6003
101 Processing is taking place. Startup Synchronization. 3048
101 Processing is taking place. Normal Processing. 3049
101 Processing is taking place. Recovery Synchronization. 3050
101 Processing is taking place. Recovery Processing. 6004
101 Processing is taking place. Startup Synchronization. 6005
101 Processing is taking place. Normal Processing. 6021
102 Activity is halted. Online backup of the Target Database. 3051
102 Activity is halted. Target Database in Quiet Point. 3052
102 Activity is halted. Target Database is in a BI stall. 3053
102 Activity is halted. Target Database is in an AI stall. 3054
103 Pre-transition state. Pre-transition. 2080
103 Pre-transition state. Applying After-image Extent. 2081
104 Agent is listening. Listening. 2083
105 Transition. Transitioning. 2082
199 Inactive. Initial Connection Failed. 1032
199 Inactive. Recovery Failed. 1033
199 Inactive. Invalid Target Database Configuration. 1034
199 Inactive. Agent Failed. 1035
199 Inactive. Agent is Ignored. 1036
199 Inactive. Agent is Stopped. 1037
199 Inactive. Agent is Terminated. 1038
199 Inactive. Agent is Ended. 1063
199 Inactive. Server is ended. 6060
255 Unknown. Unknown. 0

For example, for a source database whose Replication server is connecting to its configured agents, the status returned would be 1001.