KCML database status codes

Error CodeValueFatalMeaning
KE_SUCCESS0NSuccess
KE_NOTFOUND1NRecord not found
KE_ENDOFFILE2NEnd of file
KE_ENDOFRANGE2NEnd of range
KE_NOTSTARTED3NInvalid path
KE_DUPLICATE4NDuplicate key
KE_INDEXFULL5NIndex full
KE_DATAFULL6NData area full
KE_NOTOPEN7NTable not open
KE_FILENOTFOUND8NUnable to open table
KE_NOTKISAM9NNot a KDB table
KE_BADHANDLE10YNo such handle
KE_BADINDEX11NIndex damaged
KE_LOCKED12NRow locked by another process
KE_NOTHELD13NRow lock not previous held by this process
KE_EXISTS14NTable already exists
KE_NOMEMORY15YOut of memory
KE_NOLOGIN16NUnable to authenticate
KE_IOERROR17NI/O error
KE_BADFUNCTION18NInvalid function
KE_BADSORT19NFSORT failed
KE_INDEXDAMAGED20NIndex set damaged
KE_SEQDAMAGED21NSequence set damaged
KE_BADDATAFREE22NFree data chain damaged
KE_BADINDEXFREE23NFree index chain damaged
KE_BADINDEXCONTROLS24NIndex controls wrong
KE_ACCESS25NAccess denied
KE_BADLOCK26NFile not lockable
KE_MMAP27NMapping error
KE_BADBUFFER28YRecord too long
KE_LOGGING29NTransaction logging
KE_TRANSLOCK30NTransaction lock
KE_TRANSSYNTAX31NTransaction syntax error
KE_TRANSSIZE32NTransaction size error
KE_TRANSOFF33NTransaction off
KE_TRANSINTERNAL34NTransaction internal error
KE_LOCKTABLESIZE35NLock table size
KE_ENDOFGROUP36NSQL end of group
KE_HAVINGREJECTEDGROUP37NSQL having rejected group
KE_NOT_SUPPORTED38NFunction not supported
KE_TRUNCATED39NString truncated
KE_SQL_PARSE_ERROR40NSQL parse error
KE_SQL_EXEC_ERROR41NSQL exec error
KE_SQL_BIND_ERROR42NSQL bind error
KE_SQL_PARAM_ERROR43YSQL parameter error
KE_SQL_FETCH_ERROR44NSQL fetch error
KE_SQL_FAIL45NSQL fail error
KE_DATADAMAGED46NData damaged
KE_WS_BADINDEX47NBad word search index
KE_WS_INDEXDAMAGED48NWord search index damaged
KE_WS_NOTFOUND49NWord(s) not found
KE_WS_SEQDAMAGED50NWord search sequence set damaged
KE_WS_NOMEMORY51YWord search out of memory
KE_7IOERROR52NI/O error
KE_XML53NXML error
KE_SCHEMA54NSchema error
KE_WSBADFUNCTION55NWord search bad function
KE_DEADLOCK60YDeadlock detected while waiting for a lock
KE_SOCKET61NTOS Socket error
KE_FAILOVER62YDatabase cluster failed over
KE_ROLLBACK63YApplication initiated rollback
KE_KILLED64YDatabase process killed
KE_STALE65NResult set stale
KE_RECURSION66YInfinite recursion
KE_UNMAPPEDCOLVAL67YDid not map a column value from attribute
KE_NOMAPPEDCOLVALS68YSpecified column mapping attribute with no column/value pairs
KE_JSON69YJSON parser error
KE_TMP_NO_ACCESS70YPermission denied because table is currently also open in eXclusive mode
KE_NOLIBRARY71YFailed to load a library