All Historical Server commands return a status value of either zero or one.
Zero indicates a successful execution.
One indicates an error condition. If a status of one is returned, an error message and its appropriate error code, severity level, and state are returned to the client.
Historical Server is an Open Server application that uses Client-Library™ to communicate with one or more pairs of Adaptive Server and Monitor Server. Any of these components may detect and report error conditions.
Historical Server also detects and reports error conditions, which it logs or reports or both to clients. Historical Server error codes are all five-digit numbers from 30000 through 30999. Open Server error codes are in the range between 16000 and 20000. For error codes in either of these ranges, the Historical Server assigns one of the following severity levels:
Severity |
Description |
---|---|
1 |
Informational message |
2 |
Warning message |
3 |
Fatal server error |
4 |
Fatal process error |
5 |
Operating system error |
Errors detected by Client-Library, Adaptive Server, and Monitor Server use their own error numbering and severity-level schemes.