Error Code Reference

Next Topic


Reference Guide

Error Code Reference


Developers, Administrators


A reference the FairCom Database error codes and their possible solutions


© Copyright 2022, FairCom Corporation. All rights reserved. For full information, see the FairCom Copyright Notice.


This book presents a numerical listing of the error codes that could be generated by FairCom DB, FairCom EDGE, Replication Manager, and Replication Agent.


c-treeRTG COBOL Edition and c-treeRTG BTRV Edition are based on the FairCom DB Server and, therefore, they may return some of the errors listed in this document. Consult the 0 - 43 c-treeRTG Error Codes section and the c-treeRTG user guides for additional information about error messages and troubleshooting.

Errors and Unsuccessful Operations

Note that several of these “error” codes are not really errors, but rather indicators of an unsuccessful operation. For example, KDUP_ERR (2) occurs if you attempt to add an existing entry to an index that does not support duplicate key values. This is not an error, but a situation to which your application program must be prepared to react.

Negative Error Codes

Some error codes in this listing are negative values (e.g., -8 -9 -539 -586 -587 -594). These error codes also set the variable sysiocod in conjunction with the variables isam_err or uerr_cod (depending on the API level that generated the error: ISAM functions set isam_err, and Low Level functions set uerr_cod ). In general, sysiocod contains error codes generated by the operating system (e.g., errno). In some cases, the operating system does not generate error codes and we need extra information about an error, so a sysiocod with a negative value indicates this condition for supplying additional information. Notice that sysiocod will never use the same number for both a negative and a positive error code.