Skip to main content

FairCom RTG error codes

FairCom RTG error codes are returned by the FairCom RTG server.

Symbolic

Error code

Description

CTE_NO_ERROR

0

Indicates the operation completed successfully

CTE_SYS_ERR

1

Indicates a system error

CTE_PARAM_ERR

2

Indicates an incorrect parameter

CTE_TOO_MANY_FILES

3

Indicates there are too many files open. Check the FILES keyword in the configuration file

CTE_MODE_CLASH

4

Indicates the file is open as read-only

CTE_REC_LOCKED

5

Indicates the record is locked by another user

CTE_BROKEN

6

Indicates the file is corrupt. Either rebuild or restore it from a backup

CTE_DUPLICATE

7

Indicates the duplicate record is not allowed

CTE_NOT_FOUND

8

Indicates the record was not found

CTE_UNDEF_RECORD

9

Indicates the record position was not set

CTE_DISK_FULL

10

Indicates a write error

CTE_FILE_LOCKED

11

Indicates the file is locked by another user

CTE_MISMATCH

13

Indicates a file definition mismatch

CTE_NO_MEMORY

14

Indicates there is no more memory

CTE_MISSING_FILE

15

Indicates the file was not found

CTE_PERMISSION

16

Indicates the user does not have appropriate access permission

CTE_NO_SUPPORT

17

Indicates unsupported functionality

CTE_INTERFACE

19

Indicates an interface error, check FairCom DB error code (you may need to activate the error logging in ctree.conf and view the error log)

CTE_MODE_CLASH_W

23

Indicates the file is open as write-only

CTE_MODE_CLASH_RW

24

Indicates the file is not open for read and write

CTE_AT_END

25

Indicates end of file

CTE_SYNTAX_ERR

31

Indicates a configuration syntax error

CTE_CONFIG_ERR

32

Indicates a configuration error

CTE_ENCRYPTED

33

Indicates the operation is not allowed because the file is encrypted

CTE_REDIRINST

34

Indicates an unexpected reference to redir instance

CTE_NOT_SQL

35

Indicates the server/database is not SQL

CTE_MISSING_TABLE

36

Indicates the SQL table was not found

CTE_INCOMPATIBLE

37

Indicates a client/server incompatibility

CTE_FILE_EXISTS

38

Indicates the file already exists

CTE_NO_TRANSACTION

39

Indicates there is no active transaction

CTE_NOT_MODIFIABLE

40

Indicates the key is not modifiable

CTE_NOT_CTREE_FILE

41

Indicates an unknown file format

CTE_TRAN_EXIST

42

Indicates the transaction is already active

CTE_XDD_RULE_ERR

43

Indicates an XDD rule error

CTE_MISSING_IDXFILE

44

Missing index file

CTE_ALREADY_OPEN

45

File is already open

CTE_ALREADY_CLOSE

46

File is already close

CTE_DELETE_OPEN

47

File is open

CTE_CLOSE_WITH_LOCK

48

File was closed with lock

CTE_OPEN_MISSING

49

File not found

CTE_CHECK_DEFS_ERR

50

File definition error

CTE_FILE_SIZE_ERR

51

File size exceeds limit

CTE_ORPHAN_IDXFILE

52

File is corrupted remove orphan index file

CTE_DATABUFFER_ERR

53

Data buffer is too short