Products Support Documentation Download
RDM Return Codes
Collaboration diagram for RDM Return Codes:

Macros

#define RDM_IS_ERROR(c)   ((int32_t) (c) < 0 ? 1 : 0)
 
#define RDM_IS_INFO(c)   ((int32_t) (c) >= 0 ? 1 : 0)
 

Enumerations

enum  RDM_RETCODE {
  sQA_RDBC_SUCCESS_WITH_INFO = 29000, sNOTFOUND = 10000, sDUPLICATE = 10001, sTIMEOUT = 10002,
  sUPDATEDPOSITION = 10003, sNOTINCURSOR = 10004, sTRABORTED = 10005, sIGNORE = 10006,
  sOKAYWITHINFO = 10007, sNEEDDATA = 10008, sNODATA = 10009, sENDOFCURSOR = 10010,
  sEOF = 10011, sTRUNCATE = 10012, sREFERENCING = 10013, sFILECHANGED = 10014,
  sSKIPTRANS = 10015, sNOMOREPAGE = 10016, sSETCLASH = 10017, sUPDATEABORTED = 10018,
  sSNAPSHOTENDED = 10019, sREADENDED = 10020, sTFS_SHUTDOWN = 10021, sOPTCHANGED = 10022,
  sCMD_USAGE = 10023, sCMD_VERSION = 10024, sNULLVAL = 10025, sEOS = 10026,
  sDBNEEDSINIT = 10027, sIMPROWERROR = 10028, sSCHEMACHANGE = 10029, sUNDERFLOW = 10030,
  sPRECISIONLOSS = 10031, sNOMORERESULTS = 10032, sFETCHBEYOND = 10033, sTRIGGERSREADONLY = 10034,
  sNODB = 10035, sKVNOVALUE = 10036, sOPTIONIGNORED = 10037, sCHILD = 10038,
  sBASE_QUEUE_CLOSED = 10039, sBASE_QUEUE_EMPTY = 10040, sFILE_CONSOLE = 10041, sINDETERMINATE = 10042,
  sOKAY = 0, eFAIL = -1, eNOMEMORY = -10000, eREALLOCMEMORY = -10001,
  eDBNOTOPEN = -10002, eDBOPEN = -10003, eEXCLUSIVE = -10004, eBADCAT = -10005,
  eSQLRESERVED = -10006, eTRACTIVE = -10007, eNOUPDATE = -10008, eTRNOTACT = -10009,
  eNOSTART = -10010, eNOSTARTUPDATE = -10011, eNOSTARTREAD = -10012, eNOTLOCKED = -10013,
  eNOTFREE = -10014, eDUPLICATE = -10015, eREFINTEGRITY = -10016, eCHECK = -10017,
  eNODB = -10018, eSNAPSHOTACTIVE = -10019, eSNAPSHOTNOTACTIVE = -10020, eOPENMODE = -10021,
  eNOTIMPLEMENTED = -10022, eINVFCNARG = -10023, eINVNULLARG = -10024, eINVFCNSEQ = -10025,
  eINVLITERAL = -10026, eMISSINGLITERAL = -10027, eCIRTABDELETE = -10028, eNOTNULL = -10029,
  eFILEIO = -10030, eFILEOPEN = -10031, eFILEACCESS = -10032, eFILEEXIST = -10033,
  eFILENOENTRY = -10034, eFILEISDIR = -10035, eEOF = -10036, eBROKENPIPE = -10037,
  eUNOMISMATCH = -10038, eNOSPACE = -10039, ePRECOMMITTED = -10040, eINVDBNAMESPEC = -10041,
  eINVTFSSPEC = -10042, eFILEINUSE = -10043, eTRUNCATED = -10044, eBADREAD = -10045,
  eBADWRITE = -10046, eRANGE = -10047, eINVKEYVALUE = -10048, eINVBCD = -10049,
  eINVBOUNDARYVAL = -10050, eDUPUSERID = -10051, eREADONLY = -10052, eMKDIR = -10053,
  eRECOVERYFAILED = -10054, eNOTFOUND = -10055, eSYNTAX = -10056, eBADDATALEN = -10057,
  eINVROWIDVAL = -10058, eVALUEISLIST = -10059, eINVVARINT = -10060, eDATALOST = -10061,
  eINVBINLITERAL = -10062, eTYPEMISMATCH = -10063, eROWIDRANGE = -10064, eROWIDMISMATCH = -10065,
  eROWLIMIT = -10066, eINVCONVERT = -10067, eINVUTF = -10068, eINVOPTION = -10069,
  eINVOPTIONVALUE = -10070, eDBNOTCLOSED = -10071, eINVARG = -10072, eINVARGTYPE = -10073,
  eINVTRID = -10074, eNOTSUPPORTED = -10075, eNOTROOTUPDATETRANS = -10076, eESCAPE = -10077,
  eSTRTOOLONG = -10078, eDBEXISTS = -10079, eEOD = -10080, eINVID = -10081,
  eINVUNICODE = -10082, eCOLCOUNTMISMATCH = -10083, eKEYCOLCOUNTMISMATCH = -10084, eHASMEMBERS = -10085,
  eDEPRECATED = -10086, eINVTIMEOUT = -10087, eLEGACYAPI = -10088, eLEGACYDB = -10089,
  eINMEMMISMATCH = -10090, eBADWILDALL = -10091, eBADWILDONE = -10092, eBADSNAPSHOTMODE = -10093,
  eINVHANDLE = -10094, eINVSQLTYPE = -10095, eCONNNOTOPEN = -10096, eDIVBY0 = -10097,
  eNOTANUMBER = -10098, eINVALID = -10099, eUNAVAIL = -10100, eTABNOTFOUND = -10101,
  eCOLNOTFOUND = -10102, eINSERTVALS = -10103, eINVTRIGSTMT = -10104, eNOSTATS = -10105,
  eDROPONLYCOL = -10106, eTFSOPTIONALLOC = -10107, eOPTIONINCOMPAT = -10108, eINVINFOKEY = -10109,
  eDBCORRUPTED = -10110, eDROPTRIGCOL = -10111, eBASE_INVDATE = -11000, eBASE_INVTIMEZONE = -11001,
  eBASE_COMMAND = -11002, eBASE_QUEUE_CLOSED = -11003, eDEFUNCT = -12000, eINVTASKID = -12001,
  eINVDBID = -12002, eINVCURSORID = -12003, eINVTRANSID = -12004, eNOTRANSID = -12005,
  eCURSORDB = -12006, eINVTFSID = -12007, eINVFORUNION = -12008, eNOTKEY = -12009,
  eNOTBLOB = -12010, eINVLOCKTYPE = -12011, eINVKEYID = -12012, eKEYREQD = -12013,
  eINVCOLID = -12014, eINVTABID = -12015, eINVREFID = -12016, eINVIDENTIFIER = -12017,
  eINVCURSOROP = -12018, eDELETED = -12019, eOWNERDELETED = -12020, eSINGLETONDELETED = -12021,
  eNOTOWNER = -12022, eNOTMEMBER = -12023, eNOTRELATED = -12024, eNOCURRENTROW = -12025,
  eNOCURRENTOWNER = -12026, eNOCURRENTMEMBER = -12027, eNOTLINKED = -12028, eINVITERATION = -12029,
  eLOSTPOSITION = -12030, eINVCURSORCOL = -12031, eINVCURSORKEY = -12032, eNOTINCURSOR = -12033,
  eBLOBBADSIZE = -12034, eBLOBBADPOSITION = -12035, eHASOWNER = -12036, eISOWNED = -12037,
  eEOS = -12038, eISCOMPOUNDKEY = -12039, eCOMPOUNDKEY = -12040, eKEYERR = -12041,
  eKEYSEQ = -12042, eVARDATALEN = -12043, eVARDATAPTR = -12044, eTRFREE = -12045,
  eBADLOCKS = -12046, eINUPDATE = -12047, eININIT = -12048, eINVKEYSPEC = -12049,
  eREADONLYCURSOR = -12050, eSLAVEREADONLY = -12051, eDEBUG = -12052, eINVENCRYPT = -12053,
  eENCRYPTMISMATCH = -12054, eSETPAGES = -12055, eINVFILE = -12056, eREP_INVOP = -12057,
  eDBDREAD = -12058, eINVENDIAN = -12059, eINVSTRING = -12060, eINVDBA = -12061,
  eCATMISMATCH = -12062, eSCHEMACHANGE = -12063, eDBD_NONAMES = -12064, eNOT_ENCRYPTED = -12065,
  eREPLOG_ERROR = -12066, eREPLOG_EOF = -12067, eINVDB = -12068, eIMPBADXML = -12069,
  eIMPBADDATA = -12070, eMULTIPLE_DBS = -12071, eUNIONCATMISMATCH = -12072, eINCOMPAT = -12073,
  eINVOPFORBLOB = -12074, eINVOPENMODE = -12075, eDBOPENED = -12076, eNOCURRTYPE = -12077,
  eTABLEISINREF = -12078, eNOCOLUMNVALUE = -12079, eNULLCOLUMNVALUE = -12080, eINVDATEFMT = -12081,
  eINVDATESEP = -12082, eINVTIMEFMT = -12083, eVTNOTREGISTERED = -12084, eMIXEDTRANS = -12085,
  eINVLOCALE = -12086, eLOCALEMISMATCH = -12087, eNOTRTREE = -12088, eISRTREE = -12089,
  eDROPPED = -12090, eTFS_INVHANDLE = -13000, eTFS_INVTYPE = -13001, eTFS_NOTINITIALIZED = -13002,
  eTFS_DUPUSER = -13003, eTFS_FCNSEQ = -13004, eTFS_ILLEGALMOD = -13005, eTFS_ILLEGALACCESS = -13006,
  eTFS_INVDBID = -13007, eTFS_INVUSERID = -13008, eTFS_INVIDINDEX = -13009, eTFS_IDINDEXOFFSET = -13010,
  eTFS_IDINDEXLENGTH = -13011, eTFS_DOCROOTUSED = -13012, eTFS_DOCROOTNOTFOUND = -13013, eTFS_DOCROOTINVALID = -13014,
  eTFS_WRITEFAIL = -13015, eTFS_INVFILE = -13016, eTFS_IASYNC_ON = -13017, eTFS_BLOCKED = -13018,
  eTFS_INVOPERATION = -13019, eTFS_NOTRANS = -13020, eTFS_DBOPEN = -13021, eTFS_NOPAGE = -13022,
  eTFS_COMMITFAILED = -13023, eTFS_DBINUSE = -13024, eTFS_INIEDITED = -13025, eTFS_ININOTEDITED = -13026,
  eTFS_NAMEINUSE = -13027, eTFS_NOMIR = -13028, eTFS_NOSQL = -13029, eTFS_NOTFS = -13030,
  eTFS_CONNECT = -13031, eTFS_ENCNOTINIT = -13032, ePSP_FAILURE = -14000, ePSP_MUTEX_FAILURE = -14001,
  ePSP_PRIV = -14002, ePSP_INVUSER = -14003, ePSP_INVPASS = -14004, ePSP_NOSOURCE = -14005,
  ePSP_NODEST = -14006, ePSP_INVUUID = -14007, ePSP_DEADLOCK = -14008, eDDL_SYNTAX = -14500,
  eDDL_CRDBACTIVE = -14501, eDDL_WRONGDB = -14502, eDDL_DUPCOLUMN = -14503, eDDL_NOTWITHDOMAIN = -14504,
  eDDL_DOMNOTFOUND = -14505, eDDL_BADDATATYPE = -14506, eDDL_DUPTABNAME = -14507, eDDL_DUPCOLNAME = -14508,
  eDDL_FKMISMATCH = -14509, eDDL_REFNULL = -14510, eDDL_NOPRIKEY = -14511, eDDL_DEFAUTO = -14512,
  eDDL_DEFCURRENT = -14513, eDDL_BADVARPREC = -14514, eDDL_VARCHARLEN = -14515, eDDL_BINLEN = -14516,
  eDDL_NOMAXROWS = -14517, eDDL_MAXROWSVALUE = -14518, eDDL_CONSTRNAME = -14519, eDDL_NULLCONFLICT = -14520,
  eDDL_DROPCOLUMN = -14521, eDDL_DROPNOTNULL = -14522, eDDL_ALTERCHECK = -14523, eDDL_CONSTRNOTFOUND = -14524,
  eDDL_NOREFDTABLE = -14525, eDDL_COLDOMCONSTR = -14526, eDDL_DROPREFDKEY = -14527, eDDL_FKCOLINFK = -14528,
  eDDL_ALTERTYPE = -14529, eDDL_NEEDTABLE = -14530, eDDL_DROPTABLE = -14531, eDDL_DROPFKCOL = -14532,
  eDDL_DROPDOMAIN = -14533, eDDL_DOMAINCHECK = -14534, eDDL_DBEXISTS = -14535, eDDL_CONDEXPR = -14536,
  eDDL_DISPLAY = -14537, eDDL_COLTYPE = -14538, eDDL_COLDECL = -14539, eDDL_COLCONSTRAINT = -14540,
  eDDL_TABCONSTRAINT = -14541, eDDL_INDEXMETHOD = -14542, eDDL_ORDERBY = -14543, eDDL_ONACTION = -14544,
  eDDL_KEYSPEC = -14545, eDDL_FORKEYSPEC = -14546, eDDL_ERRORS = -14547, eDDL_ALTERCOL = -14548,
  eDDL_NOARRAYS = -14549, eDDL_NOBLOBS = -14550, eDDL_ALTERACT = -14551, eDDL_HASPRIKEY = -14552,
  eDDL_NOLOBKEYS = -14553, eDDL_NODBNAME = -14554, eDDL_INVDEF = -14555, eDDL_NOHASHORDER = -14556,
  eDDL_BADRTREECOLS = -14557, eDDL_BADRTREELEN = -14558, eDDL_NONUNIQUEHASH = -14559, eDDL_TABREFFEDINPL = -14560,
  eDDL_COLWITHDEFVAL = -14561, eDDL_INVCHGFORKEY = -14562, eSQL_SQLERROR = -15000, eSQL_DUPCURSOR = -15001,
  eSQL_GENFILE = -15002, eSQL_BADFORMAT = -15003, eSQL_COLNUMBER = -15004, eSQL_PARNUMBER = -15005,
  eSQL_RDMERROR = -15006, eSQL_SELECTCOLS = -15007, eSQL_NOCOLUMN = -15008, eSQL_NUMPAR = -15009,
  eSQL_FETCHTYPE = -15010, eSQL_ROWVALUE = -15011, eSQL_CURPOS = -15012, eSQL_NOSETATTR = -15013,
  eSQL_CURSTATE = -15014, eSQL_NOTSELECT = -15015, eSQL_ESCAPECHAR = -15016, eSQL_INVSTATE = -15017,
  eSQL_WHERECALCS = -15018, eSQL_INVPARAM = -15019, eSQL_DUPPROC = -15020, eSQL_NOPROC = -15021,
  eSQL_NUMARGS = -15022, eSQL_BADOUTERJOIN = -15023, eSQL_HDBCINUSE = -15024, eSQL_UDF = -15025,
  eSQL_NORETURNVAL = -15026, eSQL_UDFDEFN = -15027, eSQL_UDFARG = -15028, eSQL_UDFNOARGS = -15029,
  eSQL_INSERTCOLREF = -15030, eSQL_DUPJOINCOL = -15031, eSQL_NOJOINCOLMATCH = -15032, eSQL_SORTCOLREF = -15033,
  eSQL_FCNARG = -15034, eSQL_NUMFCNARGS = -15035, eSQL_INVSTMT = -15036, eSQL_CANCELLED = -15037,
  eSQL_GROUPBYAGGFN = -15038, eSQL_TXUNKNOWN = -15039, eSQL_NOTPREPARED = -15040, eSQL_INVTXTYPE = -15041,
  eSQL_PARMTYPE = -15042, eSQL_TIMEOUT = -15043, eSQL_IEF = -15044, eSQL_REMOTEERROR = -15045,
  eSQL_COMERROR = -15046, eSQL_LOCKSACTIVE = -15047, eSQL_MULTIDBTRANS = -15048, eSQL_NOTUPDATEABLE = -15049,
  eSQL_BLOBEXPR = -15050, eSQL_DATAATEXEC = -15051, eSQL_BLOBPARSONLY = -15052, eSQL_BADBLOBPAR = -15053,
  eSQL_LOCKMODE = -15054, eSQL_NOUPDCOLS = -15055, eSQL_AUTOCOMMIT = -15056, eSQL_CURSORTABLE = -15057,
  eSQL_RDONLYFLAG = -15058, eSQL_TABLEREF = -15059, eSQL_NESTEDAGGS = -15060, eSQL_CHARREQD = -15061,
  eSQL_CONNECT = -15062, eSQL_UNIONOPEN = -15063, eSQL_NOBLOBSORT = -15064, eSQL_NOBLOBGROUP = -15065,
  eSQL_DIFFCONNS = -15066, eSQL_OUTERJOIN = -15067, eSQL_NOWHEREBLOB = -15068, eSQL_NAMEDPARAM = -15069,
  eSQL_NOTINUDF = -15070, eSQL_GROUPRESULT = -15071, eSQL_INVCURSOR = -15072, eSQL_CURSORTAB = -15073,
  eSQL_FORUPDCOL = -15074, eSQL_INVPROC = -15075, eSQL_NOTUDFAGG = -15076, eSQL_INVFILETYPE = -15077,
  eSQL_INVROWIDVAL = -15078, eSQL_NOINSERTID = -15079, eSQL_INVSELECT = -15080, eSQL_UPDROWIDPK = -15081,
  eSQL_GROUPBYPARMS = -15082, eSQL_INVARMISMATCH = -15083, eSQL_SORTCOST = -15084, eSQL_CACHESIZE = -15085,
  eSQL_DEBUGMODE = -15086, eSQL_BADSCALE = -15087, eSQL_TOOMANYROWS = -15088, eSQL_AMBIGUOUSCOLREF = -15089,
  eSQL_NOHIDDENCOLS = -15090, eSQL_ROWNUMBER = -15091, eSQL_LABELMISMATCH = -15092, eSQL_UNDECLAREDVARREF = -15093,
  eSQL_NOAGGINASGT = -15094, eSQL_PROCGLOBALREF = -15095, eSQL_NOVALGLOBAL = -15096, eSQL_INARGASGT = -15097,
  eSQL_OUTARGCALL = -15098, eSQL_NOOERRCODE = -15099, eSQL_CASENOTFOUND = -15100, eSQL_OUTARGS = -15101,
  eSQL_INVRETURN = -15102, eSQL_RESULTSET = -15103, eSQL_RETURNTYPE = -15104, eSQL_ALIASEDCOLSREQD = -15105,
  eSQL_CURNOTDECLARED = -15106, eSQL_USEINPROCONLY = -15107, eSQL_FETCHVARS = -15108, eSQL_FETCHVARDATATYPE = -15109,
  eSQL_NORESULTSETS = -15110, eSQL_DUPVARREF = -15111, eSQL_NOTROWVAR = -15112, eSQL_ROWVARREF = -15113,
  eSQL_GLOBALVARREF = -15114, eSQL_NOTROWVARCOL = -15115, eSQL_NOTBLOCKVAR = -15116, eSQL_TOOMANYROWVARS = -15117,
  eSQL_WRONGROWVAR = -15118, eSQL_LABELNOTFOUND = -15119, eSQL_FORCURSOR = -15120, eSQL_ARGREF = -15121,
  eSQL_BADARGFORM = -15122, eSQL_PREPVAROUT = -15123, eSQL_PREPVARROW = -15124, eSQL_PREPVARTYPE = -15125,
  eSQL_BADINTOVARTYPE = -15126, eSQL_DUPPREPNAME = -15127, eSQL_PREPNOTFOUND = -15128, eSQL_PREPNOPARAMS = -15129,
  eSQL_PREPNOTSELECT = -15130, eSQL_EXECNEEDSINTO = -15131, eSQL_PREPUNALLOWABLE = -15132, eSQL_PREPNOCOLS = -15133,
  eSQL_NOTCONDITION = -15134, eSQL_GENEXCEPTION = -15135, eSQL_DUPCONDITION = -15136, eSQL_UNDONOTATOMIC = -15137,
  eSQL_HANDLERNOTFOUND = -15138, eSQL_RESIGNAL = -15139, eSQL_INVDIAGITEM = -15140, eSQL_MSGTEXT = -15141,
  eSQL_NODIAGSINFO = -15142, eSQL_INVCONDNUM = -15143, eSQL_MAXDIAGSAREA = -15144, eSQL_DIAGNOTSTACKED = -15145,
  eSQL_PROCEXISTS = -15146, eSQL_TRMODE = -15147, eSQL_BEGINTRANS = -15148, eSQL_ATOMIC = -15149,
  eSQL_MODIFIES = -15150, eSQL_SYSCAT = -15151, eSQL_SQLSTATESIGNAL = -15152, eSQL_NOTDETERMINISTIC = -15153,
  eSQL_LEAVEHANDLER = -15154, eSQL_ASGTEXPRCOUNT = -15155, eSQL_NOTINFORLOOP = -15156, eSQL_DUPLICATELABEL = -15157,
  eSQL_CALLFUNCTION = -15158, eSQL_TRIGDBMISMATCH = -15159, eSQL_TRIGCOLLIST = -15160, eSQL_BEGINATOMIC = -15161,
  eSQL_TRIGEXISTS = -15162, eSQL_WHENFCN = -15163, eSQL_NOTINTRIGGER = -15164, eSQL_NOTRIG = -15165,
  eSQL_NOINSERTVALS = -15166, eSQL_DEFINSERTVALS = -15167, eSQL_INVARRAYTYPE = -15168, eSQL_NOTARRAY = -15169,
  eSQL_BADSUBSCRIPT = -15170, eSQL_INVARRAYOP = -15171, eSQL_RECURSIVEPROC = -15172, eSQL_TBD = -15173,
  eSQL_SYSTEM = -15174, eMIR_SYNC_GENERROR = -16000, eMIR_SYNC_TIMEOUT = -16001, eMIR_INVLOGFILE = -16002,
  eRDBC_BADCTYPE = -17000, eRDBC_BADSTYPE = -17001, eRDBC_NOMEMORY = -17002, eRDBC_TYPEATTR = -17003,
  eRDBC_NOTCAPABLE = -17004, eRDBC_DESCRANGE = -17005, eRDBC_INVDESCIDX = -17006, eRDBC_NOTCURSOR = -17007,
  eRDBC_INVIRDMOD = -17008, eRDBC_INVOPENMODE = -17009, eRDBC_OPTIONRANGE = -17010, eRDBC_NOINDVAR = -17011,
  eRDBC_CLOSEHDBC = -17012, eRDBC_OPENHDBCS = -17013, eRDBC_AUTODESCR = -17014, eRDBC_ATTRVALUE = -17015,
  eRDBC_FCNRANGE = -17016, eRDBC_INVOPNOW = -17017, eRDBC_BADDESCINFO = -17018, eRDBC_CONCATNULL = -17019,
  eRDBC_COLRANGE = -17020, eRDBC_SCOPERANGE = -17021, eRDBC_NULLRANGE = -17022, eRDBC_UNIQUERANGE = -17023,
  eRDBC_ACCURANGE = -17024, eTX_DISABLED = -18000, eTX_TRUNCATED = -18001, eTX_NETREAD = -18002,
  eTX_NETWRITE = -18003, eTX_CONNECT = -18004, eTX_HOSTNAME = -18005, eTX_ACCEPT = -18006,
  eTX_LISTEN = -18007, eTX_NO_REMOTE = -18008, eTX_GENERROR = -18009, eSYS_BADERRCODE = -20000,
  eSYS_ERRACTIVE = -20001, eSYS_ERRCATCH = -20002, eSYS_DCHAIN = -20003, eSYS_BADTREE = -20004,
  eSYS_BADHASH = -20005, eSYS_KEYEXIST = -20006, eSYS_BADOPTKEY = -20007, eSYS_BADFREE = -20008,
  eSYS_ERROR = -20009, eSYS_NOSQLSTATE = -20010, eHTTP_BADREQUEST = -21000, eHTTP_URITOOLONG = -21001,
  eHTTP_ENTTOOLARGE = -21002, eHTTP_NOLENGTH = -21003, eHTTP_INVHANDLE = -21004, eHTTP_INVURLARGFMT = -21005,
  eHTTP_BADUSERID = -21006, eQA_ILLEGAL_TFS_COMBINATION = -29000, eQA_TEST_TIMEOUT = -29001, eQA_ILLEGAL_FILENAME = -29002,
  eQA_ILLEGAL_NAMESPACE = -29003, eQA_FEATURE_NOTIMPLEMENTED = -29004, eQA_ILLEGAL_USE_OF_STOP_WATCH = -29005, eQA_HAS_FLOAT_REQUIRED = -29006,
  eQA_CASE_FAILED = -29007, eQA_NEED_DESCRIPTION = -29008, eQA_HELP = -29009, eQA_MISSING_ARGUMENT = -29010,
  eQA_NO_TESTS_SELECTED = -29011, eQA_CASE_DESCRIBED = -29012, eQA_LOG_BAD_READ = -29013, eQA_LOG_BAD_WRITE = -29014,
  eQA_LOG_OPEN = -29015, eQA_TFS_PROPERTY_CONFLICT = -29016, eQA_TFS_PROPERTY_UNSET = -29017, eQA_NO_GLOBAL_ENC = -29018,
  eQA_FORK = -29019, eQA_MMAP = -29020, eQA_KILL = -29021, eQA_CHILD_EXIT = -29022,
  eQA_END_OF_LIST = -29023, eQA_RDBC_INVHANDLE = -29024, eQA_RDBC_ERROR = -29025, eEMBED_FILE_NOT_FOUND = -30000,
  eEMBED_UNKNOWN_COMMAND = -30001, eEMBED_ILLEGAL_NAMESPACE = -30002, eEMBED_CONTENT_MISMATCH = -30003
}
 RDM status and error return codes. More...
 

Detailed Description

The RDM Return codes.

Macro Definition Documentation

◆ RDM_IS_ERROR

#define RDM_IS_ERROR (   c)    ((int32_t) (c) < 0 ? 1 : 0)

#include <rdmretcodetypes.h>

Is the return code an error code

Definition at line 700 of file rdmretcodetypes.h.

◆ RDM_IS_INFO

#define RDM_IS_INFO (   c)    ((int32_t) (c) >= 0 ? 1 : 0)

#include <rdmretcodetypes.h>

Is the return code an info code

Definition at line 701 of file rdmretcodetypes.h.

Enumeration Type Documentation

◆ RDM_RETCODE

#include <rdmretcodetypes.h>

RDM status and error return codes.

Enumerator
sQA_RDBC_SUCCESS_WITH_INFO 

A placeholder for 'SQL_SUCCESS_WITH_INFO'.

sNOTFOUND 

Requested item not found.

sDUPLICATE 

Duplicate unique key value.

sTIMEOUT 

Request timed out.

sUPDATEDPOSITION 

Row was updated and is no longer positioned at the exact same position.

sNOTINCURSOR 

Row was updated (unlinked) and is no longer in this cursor.

sTRABORTED 

Transaction was aborted by system.

sIGNORE 

Error can be ignored.

sOKAYWITHINFO 

Successful return with info.

sNEEDDATA 

Function requires data to be supplied.

sNODATA 

No data is available.

sENDOFCURSOR 

Reached the end of the cursor collection.

sEOF 

Reached the end of the file or input string.

sTRUNCATE 

Result is truncated.

sREFERENCING 

File can be read locally.

sFILECHANGED 

Cached file data is out of date.

sSKIPTRANS 

Transaction should be skipped.

sNOMOREPAGE 

No more page to obtain.

sSETCLASH 

Set pointers invalidated by another user.

sUPDATEABORTED 

An update transaction was aborted when closing the database.

sSNAPSHOTENDED 

A snapshot was closed when closing the database.

sREADENDED 

Read locks were freed when closing the database.

sTFS_SHUTDOWN 

TFS is shutting down.

sOPTCHANGED 

option value changed to default.

sCMD_USAGE 

command usage option.

sCMD_VERSION 

command version option.

sNULLVAL 

The specified column is NULL.

sEOS 

End of set.

sDBNEEDSINIT 

The database needs to be initialized.

sIMPROWERROR 

One or more errors occurred during import.

sSCHEMACHANGE 

A schema change was detected but the current operation succeeded.

sUNDERFLOW 

Value underflow.

sPRECISIONLOSS 

Lost precision for BCD calculation.

sNOMORERESULTS 

No additional result sets returned.

sFETCHBEYOND 

Attempt to fetch before the result set returned the first rowset.

sTRIGGERSREADONLY 

The database contains triggers and rdm_dbTriggersOn() or rdm_dbTriggersOff() has not been called so the database is in read-only mode.

sNODB 

Database does not exist.

sKVNOVALUE 

The key/value pair does not have a value.

sOPTIONIGNORED 

The option key is valid, but is ignored for a remote TFS.

sCHILD 

The child process is returned from psp_serviceDaemonStart.

sBASE_QUEUE_CLOSED 

No more messages and the queue is closed.

sBASE_QUEUE_EMPTY 

Timed out. Queue is empty, try again later.

sFILE_CONSOLE 

The file is a Windows Console. Use psp_fileConsoleRead and psp_fileConsoleWrite.

sINDETERMINATE 

The comparison result is indeterminate.

sOKAY 

Normal, successful return.

eFAIL 

General failure.

eNOMEMORY 

Out of memory.

eREALLOCMEMORY 

Reallocation of huge memory buffers not supported.

eDBNOTOPEN 

Database not open.

eDBOPEN 

Database already opened in this task.

eEXCLUSIVE 

Exclusive access required.

eBADCAT 

Bad catalog (error trying to read catalog file).

eSQLRESERVED 

Can't use a SQL reserved word as identifier.

eTRACTIVE 

Transaction is active.

eNOUPDATE 

Transaction handle does not refer to an update transaction.

eTRNOTACT 

Transaction not active.

eNOSTART 

No rdm_dbStartRead(), rdm_dbStartSnapshot(), or rdm_dbStartUpdate() is active.

eNOSTARTUPDATE 

An update operation was attempted when no rdm_dbStartUpdate() is active.

eNOSTARTREAD 

A read operation was attempted when no rdm_dbStartSnapshot(), rdm_dbStartRead(), or rdm_dbStartUpdate() is active.

eNOTLOCKED 

Attempt to access a table for reading or update without proper locks.

eNOTFREE 

Attempt to lock already locked table.

eDUPLICATE 

Attempt to insert a duplicate value as a unique/primary key.

eREFINTEGRITY 

Integrity constraint violation.

eCHECK 

Check clause violation.

eNODB 

Database not found.

eSNAPSHOTACTIVE 

Snapshot is active.

eSNAPSHOTNOTACTIVE 

Snapshot is not active.

eOPENMODE 

Invalid db open mode.

eNOTIMPLEMENTED 

Function/feature not implemented.

eINVFCNARG 

Invalid function argument.

eINVNULLARG 

Function argument cannot be NULL.

eINVFCNSEQ 

Function sequence error.

eINVLITERAL 

Invalid literal constant specification.

eMISSINGLITERAL 

Syntax error where we expected a literal constant specification.

eCIRTABDELETE 

Cannot delete rows from a circular table.

eNOTNULL 

Must specify value for column.

eFILEIO 

File I/O error.

eFILEOPEN 

Unable to open file.

eFILEACCESS 

Unable to open file due to access restrictions.

eFILEEXIST 

Unable to create file due to an already existing file.

eFILENOENTRY 

Unable to open file since it does not exist.

eFILEISDIR 

File is a directory.

eEOF 

Reached the end of the file or input string.

eBROKENPIPE 

Failed to read or write since the other end have closed the connection.

eUNOMISMATCH 

Unions mismatch .

eNOSPACE 

Out of disk space.

ePRECOMMITTED 

A precommitted transaction must be committed or rolled back before further operations on this database are allowed.

eINVDBNAMESPEC 

Invalid database name specification.

eINVTFSSPEC 

Invalid TFS specification.

eFILEINUSE 

File in use.

eTRUNCATED 

Date truncated.

eBADREAD 

Error reading from a file.

eBADWRITE 

Error writing to a file.

eRANGE 

Numeric value out of range.

eINVKEYVALUE 

Invalid key/value pair.

eINVBCD 

Invalid BCD value.

eINVBOUNDARYVAL 

Invalid R-tree boundary value.

eDUPUSERID 

DBUSERID is already in use.

eREADONLY 

Database is read-only and cannot be updated.

eMKDIR 

Unable to create directory.

eRECOVERYFAILED 

Recovery failed.

eNOTFOUND 

Not found.

eSYNTAX 

Syntax error.

eBADDATALEN 

Invalid string or buffer length.

eINVROWIDVAL 

Invalid rowid value.

eVALUEISLIST 

Attempted to retrieve a single value where the actual value is a list.

eINVVARINT 

Invalid variable integer value.

eDATALOST 

Significant data lost due to truncation.

eINVBINLITERAL 

Invalid binary literal specification.

eTYPEMISMATCH 

Data type mismatch.

eROWIDRANGE 

RowId value out of range.

eROWIDMISMATCH 

The specified RowId does not match the Primary Key RowId value.

eROWLIMIT 

Table row limit reached.

eINVCONVERT 

Invalid data type conversion.

eINVUTF 

Invalid UTF string.

eINVOPTION 

Invalid option is specified.

eINVOPTIONVALUE 

Invalid option value.

eDBNOTCLOSED 

Option requires database to be closed.

eINVARG 

Invalid argument.

eINVARGTYPE 

Invalid argument type.

eINVTRID 

Invalid transaction id.

eNOTSUPPORTED 

Function not supported.

eNOTROOTUPDATETRANS 

You can only precommit the root update transaction.

eESCAPE 

Escape clause syntax error.

eSTRTOOLONG 

String literal too long.

eDBEXISTS 

Database already exists.

eEOD 

Insufficient data.

eINVID 

Invalid 'internals' id.

eINVUNICODE 

Invalid Unicode string.

eCOLCOUNTMISMATCH 

Invalid number column values provided for the table.

eKEYCOLCOUNTMISMATCH 

Invalid number column values provided for the key.

eHASMEMBERS 

Referential Integrity error - row is referenced by other rows.

eDEPRECATED 

This feature is deprecated.

eINVTIMEOUT 

Invalid timeout value.

eLEGACYAPI 

Call to a legacy API from a database handle not opened in legacy mode.

eLEGACYDB 

Call non-legacy API from a database handle opened in legacy mode.

eINMEMMISMATCH 

Attempting to open a database that is already open with differing in-memory options.

eBADWILDALL 

Bad wild all character (must be '' or '*').

eBADWILDONE 

Bad wild one character (must be '_', '.', or '?').

eBADSNAPSHOTMODE 

Invalid snapshot mode.

eINVHANDLE 

Invalid handle.

eINVSQLTYPE 

Invalid SQL data type.

eCONNNOTOPEN 

Connection is not open.

eDIVBY0 

Division by zero.

eNOTANUMBER 

A calculation returned not a number.

eINVALID 

Invalid encoding.

eUNAVAIL 

Requested resource not available.

eTABNOTFOUND 

Table not declared.

eCOLNOTFOUND 

Column not declared.

eINSERTVALS 

Insert value list does not match column list.

eINVTRIGSTMT 

Prohibited statement encountered during trigger execution.

eNOSTATS 

No statistics is associated with this database.

eDROPONLYCOL 

Illegal attempt to drop the only column of the table.

eTFSOPTIONALLOC 

Option specified can only be specified when allocating a TFS.

eOPTIONINCOMPAT 

Invcompatible option values.

eINVINFOKEY 

Invalid information key value.

eDBCORRUPTED 

Database corruption.

eDROPTRIGCOL 

Illegal attempt to drop a column referenced by trigger.

eBASE_INVDATE 

Invalid date value.

eBASE_INVTIMEZONE 

Invalid time zone value.

eBASE_COMMAND 

Command line argument processor error.

eBASE_QUEUE_CLOSED 

No more messages can be written since the queue is closed.

eDEFUNCT 

Function no longer supported/defunct.

eINVTASKID 

Invalid task id.

eINVDBID 

Invalid db id.

eINVCURSORID 

Invalid cursor id.

eINVTRANSID 

Invalid transaction id.

eNOTRANSID 

No transaction id specified.

eCURSORDB 

Cursor is associated with a different database.

eINVTFSID 

Invalid TFS id.

eINVFORUNION 

Invalid operation on unioned db.

eNOTKEY 

Column is not a key.

eNOTBLOB 

Column is not a BLOB or CLOB.

eINVLOCKTYPE 

Invalid lock type.

eINVKEYID 

Invalid key id.

eKEYREQD 

Key value required.

eINVCOLID 

Invalid column id.

eINVTABID 

Invalid table id.

eINVREFID 

Invalid reference (set) id number.

eINVIDENTIFIER 

Invalid id value.

eINVCURSOROP 

Invalid operation for this cursor.

eDELETED 

The current row has been deleted.

eOWNERDELETED 

The owner row for a set cursor has been deleted.

eSINGLETONDELETED 

The row for a singleton cursor has been deleted.

eNOTOWNER 

The cursor's rows are not owners of the specified set.

eNOTMEMBER 

The cursor's rows are not members of the specified set.

eNOTRELATED 

Items are not related.

eNOCURRENTROW 

The cursor is not positioned to a valid row.

eNOCURRENTOWNER 

No current owner row.

eNOCURRENTMEMBER 

No current member row.

eNOTLINKED 

The cursor is positioned to a row that is not linked to the specified reference id.

eINVITERATION 

Invalid attempt to move cursor before 'BeforeFirst' or past 'AfterLast'.

eLOSTPOSITION 

Cursor position was lost and must be reset.

eINVCURSORCOL 

The specified column is not in the table the cursor is associated with.

eINVCURSORKEY 

The specified key is not in the table the cursor is associated with.

eNOTINCURSOR 

The row is not in the cursor.

eBLOBBADSIZE 

Not enough data in the blob to satisfy the read request.

eBLOBBADPOSITION 

Invalid blob offset position.

eHASOWNER 

The row references other rows.

eISOWNED 

The member row is already owned.

eEOS 

End of set.

eISCOMPOUNDKEY 

Column is a compound key.

eCOMPOUNDKEY 

Column is in a compound key.

eKEYERR 

Key inconsistency detected.

eKEYSEQ 

Field type used out of sequence in d_keynext.

eVARDATALEN 

Vardata length inconsistency.

eVARDATAPTR 

Vardata pointer inconsistency.

eTRFREE 

Attempt to free a lock inside a transaction.

eBADLOCKS 

Inconsistent database locks.

eINUPDATE 

Initialize not allowed when a rdm_dbStartUpdate() is active.

eININIT 

Updates not allowed when an initialization is in progress.

eINVKEYSPEC 

Invalid key specification.

eREADONLYCURSOR 

Cursor is read-only.

eSLAVEREADONLY 

Attempted to open a slave database in non-readonly mode.

eDEBUG 

Debugging check interrupt.

eINVENCRYPT 

Invalid encryption key.

eENCRYPTMISMATCH 

Encryption passcodes do not match.

eSETPAGES 

Error in d_setpages (database open or bad param).

eINVFILE 

Invalid file type for operation.

eREP_INVOP 

Invalid operation during replication.

eDBDREAD 

Error reading dbd file.

eINVENDIAN 

Invalid endian format.

eINVSTRING 

Invalid string format.

eINVDBA 

Invalid dba format.

eCATMISMATCH 

Catalog in memory does not match Catalog on disk.

eSCHEMACHANGE 

A schema change was detected and the current operation was not successful.

eDBD_NONAMES 

Incompatible legacy DBD file - does not contain record/field/set name.

eNOT_ENCRYPTED 

The database is not encrypted.

eREPLOG_ERROR 

Error processing/reading/creating/writing the replication log.

eREPLOG_EOF 

EOF for replication log file.

eINVDB 

Invalid database.

eIMPBADXML 

Bad xml.

eIMPBADDATA 

Bad data.

eMULTIPLE_DBS 

Open multiple dbs in one call is not supported by this API, use multiple calls.

eUNIONCATMISMATCH 

Unioned databases do not have compatible Catalog structures.

eINCOMPAT 

Incompatible dictionary file.

eINVOPFORBLOB 

Invalid operation for a BLOB column.

eINVOPENMODE 

Invalid database open mode.

eDBOPENED 

Operation not completed because database is open.

eNOCURRTYPE 

No current table type.

eTABLEISINREF 

Cannot quick initialize the table because the table is involved in a reference.

eNOCOLUMNVALUE 

No column value was specified, the column do not have a default, and cannot be null.

eNULLCOLUMNVALUE 

NULL column value was specified, the column cannot be null.

eINVDATEFMT 

Invalid date format.

eINVDATESEP 

Invalid date separator.

eINVTIMEFMT 

Invalid time format.

eVTNOTREGISTERED 

Reference to unregistered Virtual Table.

eMIXEDTRANS 

DDL and DML transactions cannot be mixed.

eINVLOCALE 

Invalid collation locale.

eLOCALEMISMATCH 

Attempt to open database with incorrect (or no) locale.

eNOTRTREE 

The key specified is not an rtree index.

eISRTREE 

The key specified is an rtree index.

eDROPPED 

Attempt to access a cursor based on an item that has been dropped.

eTFS_INVHANDLE 

Invalid TFS handle.

eTFS_INVTYPE 

Invalid TFS type.

eTFS_NOTINITIALIZED 

The RDM Transaction File Server (TFS) is not initialized.

eTFS_DUPUSER 

Duplicate user ID.

eTFS_FCNSEQ 

Function sequence error.

eTFS_ILLEGALMOD 

Illegal attempt to modify file(s) on read-only device.

eTFS_ILLEGALACCESS 

Illegal attempt to access file(s) on diskless system.

eTFS_INVDBID 

Invalid db id.

eTFS_INVUSERID 

Invalid user id.

eTFS_INVIDINDEX 

Invalid ID index file.

eTFS_IDINDEXOFFSET 

The offset into the pack is greater than the ID Index can handle.

eTFS_IDINDEXLENGTH 

The row, bucket, or index node in the pack is larger than the ID Index can handle.

eTFS_DOCROOTUSED 

The specified docroot is already in use.

eTFS_DOCROOTNOTFOUND 

The specified docroot location is not found.

eTFS_DOCROOTINVALID 

The specified docroot location is invalid.

eTFS_WRITEFAIL 

Failed to write to a file.

eTFS_INVFILE 

File not found in file table.

eTFS_IASYNC_ON 

Internal asynchronous mode is enabled.

eTFS_BLOCKED 

Mirroring is blocking transactions.

eTFS_INVOPERATION 

Invalid operation for this type of TFS.

eTFS_NOTRANS 

Transaction not active.

eTFS_DBOPEN 

Cannot destroy a database that is open by others.

eTFS_NOPAGE 

Requested page doesn't exist.

eTFS_COMMITFAILED 

Commit failed due to prelog file rename failure.

eTFS_DBINUSE 

Database is currently in use.

eTFS_INIEDITED 

Attempted to edit an INI when it is already being edited.

eTFS_ININOTEDITED 

Attempted to edit an INI that was not held for editing.

eTFS_NAMEINUSE 

Name or port already in use.

eTFS_NOMIR 

Replication/mirroring is not enabled for this TFS library.

eTFS_NOSQL 

SQL is not enabled for this TFS library.

eTFS_NOTFS 

TFS is not enabled for this TFS library.

eTFS_CONNECT 

Failed to connect to TFS.

eTFS_ENCNOTINIT 

Encryption subsystem is not initialized on the TFS.

ePSP_FAILURE 

General failure in the PSP library.

ePSP_MUTEX_FAILURE 

Mutex failure in the PSP library.

ePSP_PRIV 

Insufficient privilege.

ePSP_INVUSER 

Invalid user.

ePSP_INVPASS 

Invalid password.

ePSP_NOSOURCE 

Invalid source.

ePSP_NODEST 

Invalid destination.

ePSP_INVUUID 

Invalid UUID in the PSP library.

ePSP_DEADLOCK 

Mutex deadlock in the PSP library.

eDDL_SYNTAX 

Syntax error.

eDDL_CRDBACTIVE 

A CREATE/ALTER DATABASE is already active.

eDDL_WRONGDB 

Table must be created in the active database.

eDDL_DUPCOLUMN 

Column with same name already declared in table.

eDDL_NOTWITHDOMAIN 

Not allowed with columns declared with domain.

eDDL_DOMNOTFOUND 

Domain not declared.

eDDL_BADDATATYPE 

Invalid data type.

eDDL_DUPTABNAME 

Duplicate table name.

eDDL_DUPCOLNAME 

Duplicate column name.

eDDL_FKMISMATCH 

Foreign/primary key columns do not match.

eDDL_REFNULL 

A referenced key must have at least one NOT NULL column.

eDDL_NOPRIKEY 

Referenced table does not have referenced primary key.

eDDL_DEFAUTO 

DEFAULT AUTO is not allowed (only with guid/rowid type).

eDDL_DEFCURRENT 

DEFAULT CURRENT is not allowed (only with date/time types).

eDDL_BADVARPREC 

Invalid variable length column precision. Must be > 0.

eDDL_VARCHARLEN 

Must specify '(length)' with variable size columns.

eDDL_BINLEN 

Must specify '(length)' with binary columns.

eDDL_NOMAXROWS 

Must specify 'MAXROWS=value' with circular tables.

eDDL_MAXROWSVALUE 

MAXROWS value must be >0.

eDDL_CONSTRNAME 

Constraint name used more than once.

eDDL_NULLCONFLICT 

NOT NULL constraint specified for a column that has NULL values or a NULL default value.

eDDL_DROPCOLUMN 

Cannot DROP COLUMN: column is used in constraint–drop constraint first.

eDDL_DROPNOTNULL 

Cannot DROP NOT NULL: column is not defined as NOT NULL.

eDDL_ALTERCHECK 

CHECK constraint not allowed in ALTER COLUMN.

eDDL_CONSTRNOTFOUND 

Constraint not found.

eDDL_NOREFDTABLE 

Referenced table not found.

eDDL_COLDOMCONSTR 

Column constraint defined in domain.

eDDL_DROPREFDKEY 

Cannot drop a referenced unique/primary key.

eDDL_FKCOLINFK 

A column can only be used in one foreign key.

eDDL_ALTERTYPE 

Cannot change column to specified data type.

eDDL_NEEDTABLE 

Table name must be specified.

eDDL_DROPTABLE 

Cannot drop table referenced by a foreign key.

eDDL_DROPFKCOL 

Cannot drop a foreign key on a column used in a key–drop key first.

eDDL_DROPDOMAIN 

Cannot drop a domain that is being used by a column.

eDDL_DOMAINCHECK 

Cannot specify a CHECK clause for a column declared as domain type.

eDDL_DBEXISTS 

Database already exists.

eDDL_CONDEXPR 

Invalid conditional expression spec.

eDDL_DISPLAY 

Invalid DISPLAY clause spec.

eDDL_COLTYPE 

Column declarations must begin with name followed by type.

eDDL_COLDECL 

Invalid column declaration spec.

eDDL_COLCONSTRAINT 

Invalid column constraint spec.

eDDL_TABCONSTRAINT 

Invalid table constraint spec.

eDDL_INDEXMETHOD 

Invalid USING index method.

eDDL_ORDERBY 

Invalid ORDER BY spec.

eDDL_ONACTION 

Invalid ON UPDATE/DELETE action spec.

eDDL_KEYSPEC 

Invalid key spec.

eDDL_FORKEYSPEC 

Invalid foreign key/references spec.

eDDL_ERRORS 

DDL errors were found.

eDDL_ALTERCOL 

Invalid ALTER COLUMN spec.

eDDL_NOARRAYS 

Arrays are not allowed with this data type.

eDDL_NOBLOBS 

Blobs not allowed in virtual tables.

eDDL_ALTERACT 

Invalid ALTER action spec.

eDDL_HASPRIKEY 

Table already has a primary key defined.

eDDL_NOLOBKEYS 

Large object columns cannot be keyed.

eDDL_NODBNAME 

Default database name not provided.

eDDL_INVDEF 

Invalid default specification for the type.

eDDL_NOHASHORDER 

Column orders are not allowed on a hash index.

eDDL_BADRTREECOLS 

Only one array column allowed for a R-tree index.

eDDL_BADRTREELEN 

The array size for an R-tree index must be 2, 4, or 6.

eDDL_NONUNIQUEHASH 

Hash index must be unique.

eDDL_TABREFFEDINPL 

Cannot drop a table referenced in a procedure or trigger on another table.

eDDL_COLWITHDEFVAL 

Cannot add a column with the default value to a table that has rows.

eDDL_INVCHGFORKEY 

Cannot change a foreign key constaint when the key columns have non-null values.

eSQL_SQLERROR 

Internal SQL error.

eSQL_DUPCURSOR 

Duplicate cursor name.

eSQL_GENFILE 

Unable to open file.

eSQL_BADFORMAT 

Bad formatting specification.

eSQL_COLNUMBER 

Invalid descriptor index (column number).

eSQL_PARNUMBER 

Invalid descriptor index (parameter number).

eSQL_RDMERROR 

RDM runtime error.

eSQL_SELECTCOLS 

SELECT result columns do not match column list.

eSQL_NOCOLUMN 

Column not found.

eSQL_NUMPAR 

Insufficient number of parameters specified.

eSQL_FETCHTYPE 

Fetch type out of range.

eSQL_ROWVALUE 

Row value out of range.

eSQL_CURPOS 

Invalid cursor position.

eSQL_NOSETATTR 

Attribute cannot be set now.

eSQL_CURSTATE 

Invalid cursor state.

eSQL_NOTSELECT 

Current/cursor's statement is not SELECT.

eSQL_ESCAPECHAR 

Invalid escape character.

eSQL_INVSTATE 

Invalid statement state.

eSQL_WHERECALCS 

Aggregate functions not allowed in WHERE.

eSQL_INVPARAM 

Invalid use of parameter marker.

eSQL_DUPPROC 

Duplicate stored procedure name.

eSQL_NOPROC 

Stored procedure/function not found.

eSQL_NUMARGS 

Invalid number of arguments specified.

eSQL_BADOUTERJOIN 

No access path between outer joined tables.

eSQL_HDBCINUSE 

Connection already in use.

eSQL_UDF 

User-defined function error.

eSQL_NORETURNVAL 

No result value returned from function.

eSQL_UDFDEFN 

UDFLOADTABLE entry definition error.

eSQL_UDFARG 

Invalid function argument type.

eSQL_UDFNOARGS 

Incorrect number of function arguments.

eSQL_INSERTCOLREF 

Invalid column reference in INSERT expression.

eSQL_DUPJOINCOL 

Duplicate join column.

eSQL_NOJOINCOLMATCH 

No matching join columns.

eSQL_SORTCOLREF 

Invalid order/group by column reference.

eSQL_FCNARG 

Invalid function argument.

eSQL_NUMFCNARGS 

Invalid number of specified function arguments.

eSQL_INVSTMT 

Invalid statement type.

eSQL_CANCELLED 

Statement execution cancelled by user.

eSQL_GROUPBYAGGFN 

Aggregate functions not allowed in GROUP BY.

eSQL_TXUNKNOWN 

Transaction state unknown.

eSQL_NOTPREPARED 

Associated statement is not prepared.

eSQL_INVTXTYPE 

Invalid transaction operation code.

eSQL_PARMTYPE 

Invalid parameter type.

eSQL_TIMEOUT 

Timeout expired.

eSQL_IEF 

Import/export error.

eSQL_REMOTEERROR 

JNI/ADO.Net system error.

eSQL_COMERROR 

RPC communication error.

eSQL_LOCKSACTIVE 

Operation not allowed due to active read locks.

eSQL_MULTIDBTRANS 

Multiple database transactions are not allowed.

eSQL_NOTUPDATEABLE 

SELECT or column is not updateable.

eSQL_BLOBEXPR 

Blobs cannot be referenced in expressions.

eSQL_DATAATEXEC 

Data-at-exec params only allowed with INSERT VALUES/UPDATE.

eSQL_BLOBPARSONLY 

Data-at-exec params only allowed for blob (long var...) columns.

eSQL_BADBLOBPAR 

Data-at-exec param type not compatible with blob (long var...) column.

eSQL_LOCKMODE 

Illegal locking mode.

eSQL_NOUPDCOLS 

No columns have been updated.

eSQL_AUTOCOMMIT 

Operation not allowed when autocommit is enabled.

eSQL_CURSORTABLE 

Positioned UPDATE/DELETE table does not match cursor's.

eSQL_RDONLYFLAG 

Inconsistent read-only transaction commit/rollback/end call.

eSQL_TABLEREF 

Duplicate table reference in FROM clause.

eSQL_NESTEDAGGS 

Cannot call an aggregate function within an aggregate function.

eSQL_CHARREQD 

CHAR type is required.

eSQL_CONNECT 

Unable to connect.

eSQL_UNIONOPEN 

Database union open invalid when other database is open.

eSQL_NOBLOBSORT 

Sorting on a blob column is not allowed.

eSQL_NOBLOBGROUP 

Blob columns cannot be referenced in a SELECT with GROUP BY.

eSQL_DIFFCONNS 

Statements from different connections.

eSQL_OUTERJOIN 

Unable to process outer join specification.

eSQL_NOWHEREBLOB 

Blob columns cannot be used in WHERE clause of a SELECT with ORDER BY.

eSQL_NAMEDPARAM 

Named parameter not found.

eSQL_NOTINUDF 

Function cannot be called from a UDF.

eSQL_GROUPRESULT 

Result column must have aggregate function call.

eSQL_INVCURSOR 

Invalid cursor name.

eSQL_CURSORTAB 

Target table does not match cursor specification.

eSQL_FORUPDCOL 

FOR UPDATE column not in SELECT list.

eSQL_INVPROC 

Stored procedure has an invalid version.

eSQL_NOTUDFAGG 

DISTINCT can only be specified with aggregate UDF.

eSQL_INVFILETYPE 

Invalid import/export file type.

eSQL_INVROWIDVAL 

Invalid rowid value.

eSQL_NOINSERTID 

No last_insert_id is available.

eSQL_INVSELECT 

SELECT cannot have ORDER/GROUP BY clause.

eSQL_UPDROWIDPK 

UPDATE of rowid primary key column is not allowed.

eSQL_GROUPBYPARMS 

GROUP BY column expressions cannot have parameter markers.

eSQL_INVARMISMATCH 

Variant argument value in INVAR aggregate function.

eSQL_SORTCOST 

Sort cost factor must be > 0.0 and < 1.0.

eSQL_CACHESIZE 

Cache size setting must be >= 100.

eSQL_DEBUGMODE 

Valid debug mode values are 0,1,2,3.

eSQL_BADSCALE 

Invalid DECIMAL scale. Must be >= 0 and <= prec.

eSQL_TOOMANYROWS 

Subquery returns more than 1 row.

eSQL_AMBIGUOUSCOLREF 

Column with this name declared in more than one of the referenced tables.

eSQL_NOHIDDENCOLS 

Hidden columns not allowed in this context.

eSQL_ROWNUMBER 

ROWNUMBER() can only be used with a SELECT statement.

eSQL_LABELMISMATCH 

END label missing or doesn't match block label.

eSQL_UNDECLAREDVARREF 

Reference to undeclared variable.

eSQL_NOAGGINASGT 

Aggregate functions not allowed in assignment statement.

eSQL_PROCGLOBALREF 

Stored procedure references an undeclared global variable.

eSQL_NOVALGLOBAL 

No value assigned to the global variable.

eSQL_INARGASGT 

Assignment to input only argument or condition.

eSQL_OUTARGCALL 

Output argument must map to a variable.

eSQL_NOOERRCODE 

Sqlstate/error/condition code not defined.

eSQL_CASENOTFOUND 

Case not found for CASE statement.

eSQL_OUTARGS 

INOUT/OUT arguments are not allowed in functions.

eSQL_INVRETURN 

RETURN statements are not allowed in procedures.

eSQL_RESULTSET 

Cursors/SELECTs that return result sets are not allowed in handlers, functions or triggers.

eSQL_RETURNTYPE 

Data type of RETURN expression is not compatible with function.

eSQL_ALIASEDCOLSREQD 

All result column expressions must be aliased in DECLARE CURSOR's SELECT.

eSQL_CURNOTDECLARED 

Cursor not declared.

eSQL_USEINPROCONLY 

FOUND test can only be used in stored procedure/function.

eSQL_FETCHVARS 

FETCH INTO variable list cursor column count mismatch.

eSQL_FETCHVARDATATYPE 

FETCH INTO variable data type incompatible with corresponding result column type.

eSQL_NORESULTSETS 

WITH RETURN cursor not allowed with this procedure (DYNAMIC RESULT SETS = 0).

eSQL_DUPVARREF 

Variable is already declared.

eSQL_NOTROWVAR 

Identifier is not a declared row variable or BEGIN label.

eSQL_ROWVARREF 

Illegal row variable reference.

eSQL_GLOBALVARREF 

Illegal global variable reference.

eSQL_NOTROWVARCOL 

Identifier is not a column of the specified row variable.

eSQL_NOTBLOCKVAR 

Identifier is not declared in specified block.

eSQL_TOOMANYROWVARS 

Only one row variable can be declared for a cursor.

eSQL_WRONGROWVAR 

Row variable is not declared for this cursor.

eSQL_LABELNOTFOUND 

Statement with specified label not found.

eSQL_FORCURSOR 

Statement not allowed on FOR cursor name.

eSQL_ARGREF 

Procedure/function argument not found.

eSQL_BADARGFORM 

Invalid procedure/function argument specification.

eSQL_PREPVAROUT 

PREPARE statement variable cannot be an OUT variable.

eSQL_PREPVARROW 

PREPARE statement variable cannot be a ROW variable.

eSQL_PREPVARTYPE 

PREPARE statement variable must be a CHAR type.

eSQL_BADINTOVARTYPE 

EXECUTE INTO variable type is not assignable.

eSQL_DUPPREPNAME 

Duplicate PREPARE statement name.

eSQL_PREPNOTFOUND 

PREPARE statement not found.

eSQL_PREPNOPARAMS 

Parameter markers are not allowed in PREPARE statement.

eSQL_PREPNOTSELECT 

PREPARE statement must be a SELECT for EXECUTE INTO.

eSQL_EXECNEEDSINTO 

EXECUTE must have INTO clause for a PREPARE of SELECT statement.

eSQL_PREPUNALLOWABLE 

Statement type not allowed in PREPARE.

eSQL_PREPNOCOLS 

PREPARE SELECT number of result columns does not match EXECUTE INTO.

eSQL_NOTCONDITION 

Referenced variable is not a named condition.

eSQL_GENEXCEPTION 

Cannot mix general and specific conditions in one handler.

eSQL_DUPCONDITION 

Duplicate condition spec'd in same handler or other handler in same scope.

eSQL_UNDONOTATOMIC 

BEGIN must specify ATOMIC within an UNDO handler.

eSQL_HANDLERNOTFOUND 

Handler not found for condition.

eSQL_RESIGNAL 

Resignal when handler not active.

eSQL_INVDIAGITEM 

Invalid diagnostics item info name.

eSQL_MSGTEXT 

MESSAGE_TEXT expected.

eSQL_NODIAGSINFO 

No diagnostics info is available.

eSQL_INVCONDNUM 

Invalid condition number.

eSQL_MAXDIAGSAREA 

Maximum number of stacked diagnostics areas exceeded.

eSQL_DIAGNOTSTACKED 

Stacked diagnostics accessed without active handler.

eSQL_PROCEXISTS 

Another stored procedure/function with same name has been created.

eSQL_TRMODE 

Transaction mode can be specified only once.

eSQL_BEGINTRANS 

BEGIN TRANSACTION can only be specified with first BEGIN.

eSQL_ATOMIC 

Statement cannot be used in a BEGIN ATOMIC/TRANSACTION block.

eSQL_MODIFIES 

Read only stored proc/func contains modification statements.

eSQL_SYSCAT 

Invalid operation on SYSTEM CATALOG.

eSQL_SQLSTATESIGNAL 

Unhandled signaled SQLSTATE condition.

eSQL_NOTDETERMINISTIC 

Simple CASE expression cannot call a non-deterministic function.

eSQL_LEAVEHANDLER 

LEAVE to a block outside of a condition handler is not allowed.

eSQL_ASGTEXPRCOUNT 

Number of variables in multiple SET assignment does not match number of expressions.

eSQL_NOTINFORLOOP 

COMMIT/ROLLBACK not allowed in FOR loop.

eSQL_DUPLICATELABEL 

Duplicate block or loop label.

eSQL_CALLFUNCTION 

Functions cannot be called using the CALL statement.

eSQL_TRIGDBMISMATCH 

Table's database name does not match trigger's.

eSQL_TRIGCOLLIST 

Column list can only be used with UPDATE triggers.

eSQL_BEGINATOMIC 

A compound trigger action must be BEGIN ATOMIC.

eSQL_TRIGEXISTS 

Another trigger with same name has been created.

eSQL_WHENFCN 

Functions ref'd in WHEN clause cannot be MODIFIES SQL.

eSQL_NOTINTRIGGER 

Transactions cannot be used in a trigger.

eSQL_NOTRIG 

Trigger not found.

eSQL_NOINSERTVALS 

Syntax error where no columns are present after the keyword 'VALUES'.

eSQL_DEFINSERTVALS 

Syntax error where columns are present after 'DEFAULT VALUES'.

eSQL_INVARRAYTYPE 

Invalid array element value.

eSQL_NOTARRAY 

Not an array value/column/variable.

eSQL_BADSUBSCRIPT 

Subscript value is out of range.

eSQL_INVARRAYOP 

Invalid array operation.

eSQL_RECURSIVEPROC 

Recursive stored procedures and triggers are not allowed.

eSQL_TBD 

Yet to be implemented feature.

eSQL_SYSTEM 

System error.

eMIR_SYNC_GENERROR 

Generic synchronous mirroring error.

eMIR_SYNC_TIMEOUT 

Synchronous mirroring timeout.

eMIR_INVLOGFILE 

Invalid log file format.

eRDBC_BADCTYPE 

Invalid C data type.

eRDBC_BADSTYPE 

Invalid SQL data type.

eRDBC_NOMEMORY 

Driver out of memory.

eRDBC_TYPEATTR 

Data type attribute violation.

eRDBC_NOTCAPABLE 

Driver not capable.

eRDBC_DESCRANGE 

Invalid descriptor field identifier.

eRDBC_INVDESCIDX 

Invalid descriptor index.

eRDBC_NOTCURSOR 

Prepared statement is not a valid cursor.

eRDBC_INVIRDMOD 

Cannot modify an implementation row descriptor.

eRDBC_INVOPENMODE 

Invalid database open mode.

eRDBC_OPTIONRANGE 

Invalid attribute/option identifier.

eRDBC_NOINDVAR 

Indicator variable required but not supplied.

eRDBC_CLOSEHDBC 

Connection not closed.

eRDBC_OPENHDBCS 

Must free all connection handles first.

eRDBC_AUTODESCR 

Invalid use of implicit descriptor handle.

eRDBC_ATTRVALUE 

Invalid attribute value.

eRDBC_FCNRANGE 

Function type out of range.

eRDBC_INVOPNOW 

Invalid operation at this time.

eRDBC_BADDESCINFO 

Inconsistent descriptor information.

eRDBC_CONCATNULL 

Attempt to concatenate a null value.

eRDBC_COLRANGE 

Column type out of range.

eRDBC_SCOPERANGE 

Scope out of range.

eRDBC_NULLRANGE 

Nullable type out of range.

eRDBC_UNIQUERANGE 

Uniqueness option type out of range.

eRDBC_ACCURANGE 

Accuracy option type out of range.

eTX_DISABLED 

HTTP listener is disabled.

eTX_TRUNCATED 

Data retrieved had to be truncated.

eTX_NETREAD 

Failure to read data from network.

eTX_NETWRITE 

Failure to write data to network.

eTX_CONNECT 

Failed to connect to server.

eTX_HOSTNAME 

Host name not found.

eTX_ACCEPT 

TCP/IP accept failure.

eTX_LISTEN 

TCP/IP listen failure.

eTX_NO_REMOTE 

Remote connections not allowed.

eTX_GENERROR 

Generic TX error.

eSYS_BADERRCODE 

Invalid rdm RETCODE value.

eSYS_ERRACTIVE 

Error function call not allowed when another error is active.

eSYS_ERRCATCH 

Attempt to pop a catch off an empty catch stack.

eSYS_DCHAIN 

Bad dchain.

eSYS_BADTREE 

B-tree malformed.

eSYS_BADHASH 

Hash malformed.

eSYS_KEYEXIST 

Key value already exists.

eSYS_BADOPTKEY 

Calculating optkey index.

eSYS_BADFREE 

Attempt to free empty table.

eSYS_ERROR 

Unexpected system error.

eSYS_NOSQLSTATE 

Unexpected empty SQL state.

eHTTP_BADREQUEST 

Bad HTTP requst.

eHTTP_URITOOLONG 

URI too long.

eHTTP_ENTTOOLARGE 

Entity too large.

eHTTP_NOLENGTH 

No length was specified.

eHTTP_INVHANDLE 

Invalid HTTP handle.

eHTTP_INVURLARGFMT 

Invalid argument format in URL.

eHTTP_BADUSERID 

Invalid user id - not alphanumeric.

eQA_ILLEGAL_TFS_COMBINATION 

Illegal combination of options for different tfs types.

eQA_TEST_TIMEOUT 

Test timed out.

eQA_ILLEGAL_FILENAME 

Illegal filename.

eQA_ILLEGAL_NAMESPACE 

Illegal namespace.

eQA_FEATURE_NOTIMPLEMENTED 

Feature have not been implemented.

eQA_ILLEGAL_USE_OF_STOP_WATCH 

Illegal use of stop watch.

eQA_HAS_FLOAT_REQUIRED 

Illegal use of floating point.

eQA_CASE_FAILED 

A test case failed.

eQA_NEED_DESCRIPTION 

A description is missing for a case.

eQA_HELP 

Help text returned.

eQA_MISSING_ARGUMENT 

Command line option is missing an argument.

eQA_NO_TESTS_SELECTED 

No tests was selected by the command line options given.

eQA_CASE_DESCRIBED 

T test case have been described.

eQA_LOG_BAD_READ 

Reading from test log failed.

eQA_LOG_BAD_WRITE 

Writing to test log failed.

eQA_LOG_OPEN 

Opening test log failed.

eQA_TFS_PROPERTY_CONFLICT 

TFS property have not been set.

eQA_TFS_PROPERTY_UNSET 

TFS property set inconsistently.

eQA_NO_GLOBAL_ENC 

There is no global encryption support for legacy.

eQA_FORK 

Failed to fork child process.

eQA_MMAP 

Failed to create shared memory.

eQA_KILL 

The QA Framework detected termination upon a signal while running a test in a child process.

eQA_CHILD_EXIT 

A forked child is done, now we need to cleanup and exit. No summary output..

eQA_END_OF_LIST 

Used internally to end a list of error or status codes to the QA_S macro.

eQA_RDBC_INVHANDLE 

A placeholder for 'SQL_INVALID_HANDLE'.

eQA_RDBC_ERROR 

A placeholder for 'SQL_ERROR'.

eEMBED_FILE_NOT_FOUND 

File not found by the embedder.

eEMBED_UNKNOWN_COMMAND 

Command not supported by the embedder.

eEMBED_ILLEGAL_NAMESPACE 

Illegal namespace provided to the embedder.

eEMBED_CONTENT_MISMATCH 

Content doesn't match the embedded hash for the file.

Definition at line 42 of file rdmretcodetypes.h.

43 {
44  /* status rdbc codes: */
47  /* status codes: */
48  sNOTFOUND = 10000,
49  sDUPLICATE = 10001,
50  sTIMEOUT = 10002,
51  sUPDATEDPOSITION = 10003,
52  sNOTINCURSOR = 10004,
53  sTRABORTED = 10005,
54  sIGNORE = 10006,
55  sOKAYWITHINFO = 10007,
56  sNEEDDATA = 10008,
57  sNODATA = 10009,
58  sENDOFCURSOR = 10010,
59  sEOF = 10011,
60  sTRUNCATE = 10012,
61  sREFERENCING = 10013,
62  sFILECHANGED = 10014,
63  sSKIPTRANS = 10015,
64  sNOMOREPAGE = 10016,
65  sSETCLASH = 10017,
66  sUPDATEABORTED = 10018,
67  sSNAPSHOTENDED = 10019,
68  sREADENDED = 10020,
69  sTFS_SHUTDOWN = 10021,
70  sOPTCHANGED = 10022,
71  sCMD_USAGE = 10023,
72  sCMD_VERSION = 10024,
73  sNULLVAL = 10025,
74  sEOS = 10026,
75  sDBNEEDSINIT = 10027,
76  sIMPROWERROR = 10028,
77  sSCHEMACHANGE = 10029,
78  sUNDERFLOW = 10030,
79  sPRECISIONLOSS = 10031,
80  sNOMORERESULTS = 10032,
81  sFETCHBEYOND = 10033,
82  sTRIGGERSREADONLY = 10034,
83  sNODB = 10035,
84  sKVNOVALUE = 10036,
85  sOPTIONIGNORED = 10037,
86  sCHILD = 10038,
87  sBASE_QUEUE_CLOSED = 10039,
88  sBASE_QUEUE_EMPTY = 10040,
89  sFILE_CONSOLE = 10041,
90  sINDETERMINATE = 10042,
92  /* ok codes: */
93  sOKAY = 0,
95  /* fail codes: */
96  eFAIL = -1,
98  /* general codes: */
99  eNOMEMORY = -10000,
100  eREALLOCMEMORY = -10001,
101  eDBNOTOPEN = -10002,
102  eDBOPEN = -10003,
103  eEXCLUSIVE = -10004,
104  eBADCAT = -10005,
105  eSQLRESERVED = -10006,
106  eTRACTIVE = -10007,
107  eNOUPDATE = -10008,
108  eTRNOTACT = -10009,
109  eNOSTART = -10010,
110  eNOSTARTUPDATE = -10011,
111  eNOSTARTREAD = -10012,
112  eNOTLOCKED = -10013,
113  eNOTFREE = -10014,
114  eDUPLICATE = -10015,
115  eREFINTEGRITY = -10016,
116  eCHECK = -10017,
117  eNODB = -10018,
118  eSNAPSHOTACTIVE = -10019,
119  eSNAPSHOTNOTACTIVE = -10020,
120  eOPENMODE = -10021,
121  eNOTIMPLEMENTED = -10022,
122  eINVFCNARG = -10023,
123  eINVNULLARG = -10024,
124  eINVFCNSEQ = -10025,
125  eINVLITERAL = -10026,
126  eMISSINGLITERAL = -10027,
127  eCIRTABDELETE = -10028,
128  eNOTNULL = -10029,
129  eFILEIO = -10030,
130  eFILEOPEN = -10031,
131  eFILEACCESS = -10032,
132  eFILEEXIST = -10033,
133  eFILENOENTRY = -10034,
134  eFILEISDIR = -10035,
135  eEOF = -10036,
136  eBROKENPIPE = -10037,
137  eUNOMISMATCH = -10038,
138  eNOSPACE = -10039,
139  ePRECOMMITTED = -10040,
140  eINVDBNAMESPEC = -10041,
141  eINVTFSSPEC = -10042,
142  eFILEINUSE = -10043,
143  eTRUNCATED = -10044,
144  eBADREAD = -10045,
145  eBADWRITE = -10046,
146  eRANGE = -10047,
147  eINVKEYVALUE = -10048,
148  eINVBCD = -10049,
149  eINVBOUNDARYVAL = -10050,
150  eDUPUSERID = -10051,
151  eREADONLY = -10052,
152  eMKDIR = -10053,
153  eRECOVERYFAILED = -10054,
154  eNOTFOUND = -10055,
155  eSYNTAX = -10056,
156  eBADDATALEN = -10057,
157  eINVROWIDVAL = -10058,
158  eVALUEISLIST = -10059,
159  eINVVARINT = -10060,
160  eDATALOST = -10061,
161  eINVBINLITERAL = -10062,
162  eTYPEMISMATCH = -10063,
163  eROWIDRANGE = -10064,
164  eROWIDMISMATCH = -10065,
165  eROWLIMIT = -10066,
166  eINVCONVERT = -10067,
167  eINVUTF = -10068,
168  eINVOPTION = -10069,
169  eINVOPTIONVALUE = -10070,
170  eDBNOTCLOSED = -10071,
171  eINVARG = -10072,
172  eINVARGTYPE = -10073,
173  eINVTRID = -10074,
174  eNOTSUPPORTED = -10075,
175  eNOTROOTUPDATETRANS = -10076,
176  eESCAPE = -10077,
177  eSTRTOOLONG = -10078,
178  eDBEXISTS = -10079,
179  eEOD = -10080,
180  eINVID = -10081,
181  eINVUNICODE = -10082,
182  eCOLCOUNTMISMATCH = -10083,
183  eKEYCOLCOUNTMISMATCH = -10084,
184  eHASMEMBERS = -10085,
185  eDEPRECATED = -10086,
186  eINVTIMEOUT = -10087,
187  eLEGACYAPI = -10088,
188  eLEGACYDB = -10089,
189  eINMEMMISMATCH = -10090,
190  eBADWILDALL = -10091,
191  eBADWILDONE = -10092,
192  eBADSNAPSHOTMODE = -10093,
193  eINVHANDLE = -10094,
194  eINVSQLTYPE = -10095,
195  eCONNNOTOPEN = -10096,
196  eDIVBY0 = -10097,
197  eNOTANUMBER = -10098,
198  eINVALID = -10099,
199  eUNAVAIL = -10100,
200  eTABNOTFOUND = -10101,
201  eCOLNOTFOUND = -10102,
202  eINSERTVALS = -10103,
203  eINVTRIGSTMT = -10104,
204  eNOSTATS = -10105,
205  eDROPONLYCOL = -10106,
206  eTFSOPTIONALLOC = -10107,
207  eOPTIONINCOMPAT = -10108,
208  eINVINFOKEY = -10109,
209  eDBCORRUPTED = -10110,
210  eDROPTRIGCOL = -10111,
212  /* base codes: */
213  eBASE_INVDATE = -11000,
214  eBASE_INVTIMEZONE = -11001,
215  eBASE_COMMAND = -11002,
216  eBASE_QUEUE_CLOSED = -11003,
218  /* core codes: */
219  eDEFUNCT = -12000,
220  eINVTASKID = -12001,
221  eINVDBID = -12002,
222  eINVCURSORID = -12003,
223  eINVTRANSID = -12004,
224  eNOTRANSID = -12005,
225  eCURSORDB = -12006,
226  eINVTFSID = -12007,
227  eINVFORUNION = -12008,
228  eNOTKEY = -12009,
229  eNOTBLOB = -12010,
230  eINVLOCKTYPE = -12011,
231  eINVKEYID = -12012,
232  eKEYREQD = -12013,
233  eINVCOLID = -12014,
234  eINVTABID = -12015,
235  eINVREFID = -12016,
236  eINVIDENTIFIER = -12017,
237  eINVCURSOROP = -12018,
238  eDELETED = -12019,
239  eOWNERDELETED = -12020,
240  eSINGLETONDELETED = -12021,
241  eNOTOWNER = -12022,
242  eNOTMEMBER = -12023,
243  eNOTRELATED = -12024,
244  eNOCURRENTROW = -12025,
245  eNOCURRENTOWNER = -12026,
246  eNOCURRENTMEMBER = -12027,
247  eNOTLINKED = -12028,
248  eINVITERATION = -12029,
249  eLOSTPOSITION = -12030,
250  eINVCURSORCOL = -12031,
251  eINVCURSORKEY = -12032,
252  eNOTINCURSOR = -12033,
253  eBLOBBADSIZE = -12034,
254  eBLOBBADPOSITION = -12035,
255  eHASOWNER = -12036,
256  eISOWNED = -12037,
257  eEOS = -12038,
258  eISCOMPOUNDKEY = -12039,
259  eCOMPOUNDKEY = -12040,
260  eKEYERR = -12041,
261  eKEYSEQ = -12042,
262  eVARDATALEN = -12043,
263  eVARDATAPTR = -12044,
264  eTRFREE = -12045,
265  eBADLOCKS = -12046,
266  eINUPDATE = -12047,
267  eININIT = -12048,
268  eINVKEYSPEC = -12049,
269  eREADONLYCURSOR = -12050,
270  eSLAVEREADONLY = -12051,
271  eDEBUG = -12052,
272  eINVENCRYPT = -12053,
273  eENCRYPTMISMATCH = -12054,
274  eSETPAGES = -12055,
275  eINVFILE = -12056,
276  eREP_INVOP = -12057,
277  eDBDREAD = -12058,
278  eINVENDIAN = -12059,
279  eINVSTRING = -12060,
280  eINVDBA = -12061,
281  eCATMISMATCH = -12062,
282  eSCHEMACHANGE = -12063,
283  eDBD_NONAMES = -12064,
284  eNOT_ENCRYPTED = -12065,
285  eREPLOG_ERROR = -12066,
286  eREPLOG_EOF = -12067,
287  eINVDB = -12068,
288  eIMPBADXML = -12069,
289  eIMPBADDATA = -12070,
290  eMULTIPLE_DBS = -12071,
291  eUNIONCATMISMATCH = -12072,
292  eINCOMPAT = -12073,
293  eINVOPFORBLOB = -12074,
294  eINVOPENMODE = -12075,
295  eDBOPENED = -12076,
296  eNOCURRTYPE = -12077,
297  eTABLEISINREF = -12078,
298  eNOCOLUMNVALUE = -12079,
299  eNULLCOLUMNVALUE = -12080,
300  eINVDATEFMT = -12081,
301  eINVDATESEP = -12082,
302  eINVTIMEFMT = -12083,
303  eVTNOTREGISTERED = -12084,
304  eMIXEDTRANS = -12085,
305  eINVLOCALE = -12086,
306  eLOCALEMISMATCH = -12087,
307  eNOTRTREE = -12088,
308  eISRTREE = -12089,
309  eDROPPED = -12090,
311  /* tfs codes: */
312  eTFS_INVHANDLE = -13000,
313  eTFS_INVTYPE = -13001,
314  eTFS_NOTINITIALIZED = -13002,
315  eTFS_DUPUSER = -13003,
316  eTFS_FCNSEQ = -13004,
317  eTFS_ILLEGALMOD = -13005,
318  eTFS_ILLEGALACCESS = -13006,
319  eTFS_INVDBID = -13007,
320  eTFS_INVUSERID = -13008,
321  eTFS_INVIDINDEX = -13009,
322  eTFS_IDINDEXOFFSET = -13010,
323  eTFS_IDINDEXLENGTH = -13011,
324  eTFS_DOCROOTUSED = -13012,
325  eTFS_DOCROOTNOTFOUND = -13013,
326  eTFS_DOCROOTINVALID = -13014,
327  eTFS_WRITEFAIL = -13015,
328  eTFS_INVFILE = -13016,
329  eTFS_IASYNC_ON = -13017,
330  eTFS_BLOCKED = -13018,
331  eTFS_INVOPERATION = -13019,
332  eTFS_NOTRANS = -13020,
333  eTFS_DBOPEN = -13021,
334  eTFS_NOPAGE = -13022,
335  eTFS_COMMITFAILED = -13023,
336  eTFS_DBINUSE = -13024,
337  eTFS_INIEDITED = -13025,
338  eTFS_ININOTEDITED = -13026,
339  eTFS_NAMEINUSE = -13027,
340  eTFS_NOMIR = -13028,
341  eTFS_NOSQL = -13029,
342  eTFS_NOTFS = -13030,
343  eTFS_CONNECT = -13031,
344  eTFS_ENCNOTINIT = -13032,
346  /* psp codes: */
347  ePSP_FAILURE = -14000,
348  ePSP_MUTEX_FAILURE = -14001,
349  ePSP_PRIV = -14002,
350  ePSP_INVUSER = -14003,
351  ePSP_INVPASS = -14004,
352  ePSP_NOSOURCE = -14005,
353  ePSP_NODEST = -14006,
354  ePSP_INVUUID = -14007,
355  ePSP_DEADLOCK = -14008,
357  /* ddl codes: */
358  eDDL_SYNTAX = -14500,
359  eDDL_CRDBACTIVE = -14501,
360  eDDL_WRONGDB = -14502,
361  eDDL_DUPCOLUMN = -14503,
362  eDDL_NOTWITHDOMAIN = -14504,
363  eDDL_DOMNOTFOUND = -14505,
364  eDDL_BADDATATYPE = -14506,
365  eDDL_DUPTABNAME = -14507,
366  eDDL_DUPCOLNAME = -14508,
367  eDDL_FKMISMATCH = -14509,
368  eDDL_REFNULL = -14510,
369  eDDL_NOPRIKEY = -14511,
370  eDDL_DEFAUTO = -14512,
371  eDDL_DEFCURRENT = -14513,
372  eDDL_BADVARPREC = -14514,
373  eDDL_VARCHARLEN = -14515,
374  eDDL_BINLEN = -14516,
375  eDDL_NOMAXROWS = -14517,
376  eDDL_MAXROWSVALUE = -14518,
377  eDDL_CONSTRNAME = -14519,
378  eDDL_NULLCONFLICT = -14520,
379  eDDL_DROPCOLUMN = -14521,
380  eDDL_DROPNOTNULL = -14522,
381  eDDL_ALTERCHECK = -14523,
382  eDDL_CONSTRNOTFOUND = -14524,
383  eDDL_NOREFDTABLE = -14525,
384  eDDL_COLDOMCONSTR = -14526,
385  eDDL_DROPREFDKEY = -14527,
386  eDDL_FKCOLINFK = -14528,
387  eDDL_ALTERTYPE = -14529,
388  eDDL_NEEDTABLE = -14530,
389  eDDL_DROPTABLE = -14531,
390  eDDL_DROPFKCOL = -14532,
391  eDDL_DROPDOMAIN = -14533,
392  eDDL_DOMAINCHECK = -14534,
393  eDDL_DBEXISTS = -14535,
394  eDDL_CONDEXPR = -14536,
395  eDDL_DISPLAY = -14537,
396  eDDL_COLTYPE = -14538,
397  eDDL_COLDECL = -14539,
398  eDDL_COLCONSTRAINT = -14540,
399  eDDL_TABCONSTRAINT = -14541,
400  eDDL_INDEXMETHOD = -14542,
401  eDDL_ORDERBY = -14543,
402  eDDL_ONACTION = -14544,
403  eDDL_KEYSPEC = -14545,
404  eDDL_FORKEYSPEC = -14546,
405  eDDL_ERRORS = -14547,
406  eDDL_ALTERCOL = -14548,
407  eDDL_NOARRAYS = -14549,
408  eDDL_NOBLOBS = -14550,
409  eDDL_ALTERACT = -14551,
410  eDDL_HASPRIKEY = -14552,
411  eDDL_NOLOBKEYS = -14553,
412  eDDL_NODBNAME = -14554,
413  eDDL_INVDEF = -14555,
414  eDDL_NOHASHORDER = -14556,
415  eDDL_BADRTREECOLS = -14557,
416  eDDL_BADRTREELEN = -14558,
417  eDDL_NONUNIQUEHASH = -14559,
418  eDDL_TABREFFEDINPL = -14560,
419  eDDL_COLWITHDEFVAL = -14561,
420  eDDL_INVCHGFORKEY = -14562,
422  /* sql codes: */
423  eSQL_SQLERROR = -15000,
424  eSQL_DUPCURSOR = -15001,
425  eSQL_GENFILE = -15002,
426  eSQL_BADFORMAT = -15003,
427  eSQL_COLNUMBER = -15004,
428  eSQL_PARNUMBER = -15005,
429  eSQL_RDMERROR = -15006,
430  eSQL_SELECTCOLS = -15007,
431  eSQL_NOCOLUMN = -15008,
432  eSQL_NUMPAR = -15009,
433  eSQL_FETCHTYPE = -15010,
434  eSQL_ROWVALUE = -15011,
435  eSQL_CURPOS = -15012,
436  eSQL_NOSETATTR = -15013,
437  eSQL_CURSTATE = -15014,
438  eSQL_NOTSELECT = -15015,
439  eSQL_ESCAPECHAR = -15016,
440  eSQL_INVSTATE = -15017,
441  eSQL_WHERECALCS = -15018,
442  eSQL_INVPARAM = -15019,
443  eSQL_DUPPROC = -15020,
444  eSQL_NOPROC = -15021,
445  eSQL_NUMARGS = -15022,
446  eSQL_BADOUTERJOIN = -15023,
447  eSQL_HDBCINUSE = -15024,
448  eSQL_UDF = -15025,
449  eSQL_NORETURNVAL = -15026,
450  eSQL_UDFDEFN = -15027,
451  eSQL_UDFARG = -15028,
452  eSQL_UDFNOARGS = -15029,
453  eSQL_INSERTCOLREF = -15030,
454  eSQL_DUPJOINCOL = -15031,
455  eSQL_NOJOINCOLMATCH = -15032,
456  eSQL_SORTCOLREF = -15033,
457  eSQL_FCNARG = -15034,
458  eSQL_NUMFCNARGS = -15035,
459  eSQL_INVSTMT = -15036,
460  eSQL_CANCELLED = -15037,
461  eSQL_GROUPBYAGGFN = -15038,
462  eSQL_TXUNKNOWN = -15039,
463  eSQL_NOTPREPARED = -15040,
464  eSQL_INVTXTYPE = -15041,
465  eSQL_PARMTYPE = -15042,
466  eSQL_TIMEOUT = -15043,
467  eSQL_IEF = -15044,
468  eSQL_REMOTEERROR = -15045,
469  eSQL_COMERROR = -15046,
470  eSQL_LOCKSACTIVE = -15047,
471  eSQL_MULTIDBTRANS = -15048,
472  eSQL_NOTUPDATEABLE = -15049,
473  eSQL_BLOBEXPR = -15050,
474  eSQL_DATAATEXEC = -15051,
475  eSQL_BLOBPARSONLY = -15052,
476  eSQL_BADBLOBPAR = -15053,
477  eSQL_LOCKMODE = -15054,
478  eSQL_NOUPDCOLS = -15055,
479  eSQL_AUTOCOMMIT = -15056,
480  eSQL_CURSORTABLE = -15057,
481  eSQL_RDONLYFLAG = -15058,
482  eSQL_TABLEREF = -15059,
483  eSQL_NESTEDAGGS = -15060,
484  eSQL_CHARREQD = -15061,
485  eSQL_CONNECT = -15062,
486  eSQL_UNIONOPEN = -15063,
487  eSQL_NOBLOBSORT = -15064,
488  eSQL_NOBLOBGROUP = -15065,
489  eSQL_DIFFCONNS = -15066,
490  eSQL_OUTERJOIN = -15067,
491  eSQL_NOWHEREBLOB = -15068,
492  eSQL_NAMEDPARAM = -15069,
493  eSQL_NOTINUDF = -15070,
494  eSQL_GROUPRESULT = -15071,
495  eSQL_INVCURSOR = -15072,
496  eSQL_CURSORTAB = -15073,
497  eSQL_FORUPDCOL = -15074,
498  eSQL_INVPROC = -15075,
499  eSQL_NOTUDFAGG = -15076,
500  eSQL_INVFILETYPE = -15077,
501  eSQL_INVROWIDVAL = -15078,
502  eSQL_NOINSERTID = -15079,
503  eSQL_INVSELECT = -15080,
504  eSQL_UPDROWIDPK = -15081,
505  eSQL_GROUPBYPARMS = -15082,
506  eSQL_INVARMISMATCH = -15083,
507  eSQL_SORTCOST = -15084,
508  eSQL_CACHESIZE = -15085,
509  eSQL_DEBUGMODE = -15086,
510  eSQL_BADSCALE = -15087,
511  eSQL_TOOMANYROWS = -15088,
512  eSQL_AMBIGUOUSCOLREF = -15089,
513  eSQL_NOHIDDENCOLS = -15090,
514  eSQL_ROWNUMBER = -15091,
515  eSQL_LABELMISMATCH = -15092,
516  eSQL_UNDECLAREDVARREF = -15093,
517  eSQL_NOAGGINASGT = -15094,
518  eSQL_PROCGLOBALREF = -15095,
519  eSQL_NOVALGLOBAL = -15096,
520  eSQL_INARGASGT = -15097,
521  eSQL_OUTARGCALL = -15098,
522  eSQL_NOOERRCODE = -15099,
523  eSQL_CASENOTFOUND = -15100,
524  eSQL_OUTARGS = -15101,
525  eSQL_INVRETURN = -15102,
526  eSQL_RESULTSET = -15103,
527  eSQL_RETURNTYPE = -15104,
528  eSQL_ALIASEDCOLSREQD = -15105,
529  eSQL_CURNOTDECLARED = -15106,
530  eSQL_USEINPROCONLY = -15107,
531  eSQL_FETCHVARS = -15108,
532  eSQL_FETCHVARDATATYPE = -15109,
533  eSQL_NORESULTSETS = -15110,
534  eSQL_DUPVARREF = -15111,
535  eSQL_NOTROWVAR = -15112,
536  eSQL_ROWVARREF = -15113,
537  eSQL_GLOBALVARREF = -15114,
538  eSQL_NOTROWVARCOL = -15115,
539  eSQL_NOTBLOCKVAR = -15116,
540  eSQL_TOOMANYROWVARS = -15117,
541  eSQL_WRONGROWVAR = -15118,
542  eSQL_LABELNOTFOUND = -15119,
543  eSQL_FORCURSOR = -15120,
544  eSQL_ARGREF = -15121,
545  eSQL_BADARGFORM = -15122,
546  eSQL_PREPVAROUT = -15123,
547  eSQL_PREPVARROW = -15124,
548  eSQL_PREPVARTYPE = -15125,
549  eSQL_BADINTOVARTYPE = -15126,
550  eSQL_DUPPREPNAME = -15127,
551  eSQL_PREPNOTFOUND = -15128,
552  eSQL_PREPNOPARAMS = -15129,
553  eSQL_PREPNOTSELECT = -15130,
554  eSQL_EXECNEEDSINTO = -15131,
555  eSQL_PREPUNALLOWABLE = -15132,
556  eSQL_PREPNOCOLS = -15133,
557  eSQL_NOTCONDITION = -15134,
558  eSQL_GENEXCEPTION = -15135,
559  eSQL_DUPCONDITION = -15136,
560  eSQL_UNDONOTATOMIC = -15137,
561  eSQL_HANDLERNOTFOUND = -15138,
562  eSQL_RESIGNAL = -15139,
563  eSQL_INVDIAGITEM = -15140,
564  eSQL_MSGTEXT = -15141,
565  eSQL_NODIAGSINFO = -15142,
566  eSQL_INVCONDNUM = -15143,
567  eSQL_MAXDIAGSAREA = -15144,
568  eSQL_DIAGNOTSTACKED = -15145,
569  eSQL_PROCEXISTS = -15146,
570  eSQL_TRMODE = -15147,
571  eSQL_BEGINTRANS = -15148,
572  eSQL_ATOMIC = -15149,
573  eSQL_MODIFIES = -15150,
574  eSQL_SYSCAT = -15151,
575  eSQL_SQLSTATESIGNAL = -15152,
576  eSQL_NOTDETERMINISTIC = -15153,
577  eSQL_LEAVEHANDLER = -15154,
578  eSQL_ASGTEXPRCOUNT = -15155,
579  eSQL_NOTINFORLOOP = -15156,
580  eSQL_DUPLICATELABEL = -15157,
581  eSQL_CALLFUNCTION = -15158,
582  eSQL_TRIGDBMISMATCH = -15159,
583  eSQL_TRIGCOLLIST = -15160,
584  eSQL_BEGINATOMIC = -15161,
585  eSQL_TRIGEXISTS = -15162,
586  eSQL_WHENFCN = -15163,
587  eSQL_NOTINTRIGGER = -15164,
588  eSQL_NOTRIG = -15165,
589  eSQL_NOINSERTVALS = -15166,
590  eSQL_DEFINSERTVALS = -15167,
591  eSQL_INVARRAYTYPE = -15168,
592  eSQL_NOTARRAY = -15169,
593  eSQL_BADSUBSCRIPT = -15170,
594  eSQL_INVARRAYOP = -15171,
595  eSQL_RECURSIVEPROC = -15172,
596  eSQL_TBD = -15173,
597  eSQL_SYSTEM = -15174,
599  /* mirroring codes: */
600  eMIR_SYNC_GENERROR = -16000,
601  eMIR_SYNC_TIMEOUT = -16001,
602  eMIR_INVLOGFILE = -16002,
604  /* rdbc codes: */
605  eRDBC_BADCTYPE = -17000,
606  eRDBC_BADSTYPE = -17001,
607  eRDBC_NOMEMORY = -17002,
608  eRDBC_TYPEATTR = -17003,
609  eRDBC_NOTCAPABLE = -17004,
610  eRDBC_DESCRANGE = -17005,
611  eRDBC_INVDESCIDX = -17006,
612  eRDBC_NOTCURSOR = -17007,
613  eRDBC_INVIRDMOD = -17008,
614  eRDBC_INVOPENMODE = -17009,
615  eRDBC_OPTIONRANGE = -17010,
616  eRDBC_NOINDVAR = -17011,
617  eRDBC_CLOSEHDBC = -17012,
618  eRDBC_OPENHDBCS = -17013,
619  eRDBC_AUTODESCR = -17014,
620  eRDBC_ATTRVALUE = -17015,
621  eRDBC_FCNRANGE = -17016,
622  eRDBC_INVOPNOW = -17017,
623  eRDBC_BADDESCINFO = -17018,
624  eRDBC_CONCATNULL = -17019,
625  eRDBC_COLRANGE = -17020,
626  eRDBC_SCOPERANGE = -17021,
627  eRDBC_NULLRANGE = -17022,
628  eRDBC_UNIQUERANGE = -17023,
629  eRDBC_ACCURANGE = -17024,
631  /* tx codes: */
632  eTX_DISABLED = -18000,
633  eTX_TRUNCATED = -18001,
634  eTX_NETREAD = -18002,
635  eTX_NETWRITE = -18003,
636  eTX_CONNECT = -18004,
637  eTX_HOSTNAME = -18005,
638  eTX_ACCEPT = -18006,
639  eTX_LISTEN = -18007,
640  eTX_NO_REMOTE = -18008,
641  eTX_GENERROR = -18009,
643  /* system codes: */
644  eSYS_BADERRCODE = -20000,
645  eSYS_ERRACTIVE = -20001,
646  eSYS_ERRCATCH = -20002,
647  eSYS_DCHAIN = -20003,
648  eSYS_BADTREE = -20004,
649  eSYS_BADHASH = -20005,
650  eSYS_KEYEXIST = -20006,
651  eSYS_BADOPTKEY = -20007,
652  eSYS_BADFREE = -20008,
653  eSYS_ERROR = -20009,
654  eSYS_NOSQLSTATE = -20010,
656  /* http codes: */
657  eHTTP_BADREQUEST = -21000,
658  eHTTP_URITOOLONG = -21001,
659  eHTTP_ENTTOOLARGE = -21002,
660  eHTTP_NOLENGTH = -21003,
661  eHTTP_INVHANDLE = -21004,
662  eHTTP_INVURLARGFMT = -21005,
663  eHTTP_BADUSERID = -21006,
665  /* q/a codes: */
666  eQA_ILLEGAL_TFS_COMBINATION = -29000,
667  eQA_TEST_TIMEOUT = -29001,
668  eQA_ILLEGAL_FILENAME = -29002,
669  eQA_ILLEGAL_NAMESPACE = -29003,
670  eQA_FEATURE_NOTIMPLEMENTED = -29004,
672  eQA_HAS_FLOAT_REQUIRED = -29006,
673  eQA_CASE_FAILED = -29007,
674  eQA_NEED_DESCRIPTION = -29008,
675  eQA_HELP = -29009,
676  eQA_MISSING_ARGUMENT = -29010,
677  eQA_NO_TESTS_SELECTED = -29011,
678  eQA_CASE_DESCRIBED = -29012,
679  eQA_LOG_BAD_READ = -29013,
680  eQA_LOG_BAD_WRITE = -29014,
681  eQA_LOG_OPEN = -29015,
682  eQA_TFS_PROPERTY_CONFLICT = -29016,
683  eQA_TFS_PROPERTY_UNSET = -29017,
684  eQA_NO_GLOBAL_ENC = -29018,
685  eQA_FORK = -29019,
686  eQA_MMAP = -29020,
687  eQA_KILL = -29021,
688  eQA_CHILD_EXIT = -29022,
689  eQA_END_OF_LIST = -29023,
690  eQA_RDBC_INVHANDLE = -29024,
691  eQA_RDBC_ERROR = -29025,
693  /* embed codes: */
694  eEMBED_FILE_NOT_FOUND = -30000,
695  eEMBED_UNKNOWN_COMMAND = -30001,
696  eEMBED_ILLEGAL_NAMESPACE = -30002,
697  eEMBED_CONTENT_MISMATCH = -30003
698 } RDM_RETCODE;
RDM_RETCODE
RDM status and error return codes.