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,
  sDBNOTFOUND = 10035, sKVNOVALUE = 10036, sOPTIONIGNORED = 10037, sCHILD = 10038,
  sBASE_QUEUE_CLOSED = 10039, sBASE_QUEUE_EMPTY = 10040, sOKAY = 0, eFAIL = -1,
  eNOMEMORY = -10000, eDBNOTOPEN = -10001, eDBOPEN = -10002, eEXCLUSIVE = -10003,
  eBADCAT = -10004, eSQLRESERVED = -10005, eTRACTIVE = -10006, eTRNOTACT = -10007,
  eNOSTART = -10008, eNOSTARTUPDATE = -10009, eNOSTARTREAD = -10010, eNOTLOCKED = -10011,
  eNOTFREE = -10012, eDUPLICATE = -10013, eREFINTEGRITY = -10014, eCHECK = -10015,
  eNODB = -10016, eSNAPSHOTACTIVE = -10017, eSNAPSHOTNOTACTIVE = -10018, eOPENMODE = -10019,
  eNOTIMPLEMENTED = -10020, eINVFCNARG = -10021, eINVNULLARG = -10022, eINVFCNSEQ = -10023,
  eINVLITERAL = -10024, eMISSINGLITERAL = -10025, eCIRTABDELETE = -10026, eNOTNULL = -10027,
  eFILEIO = -10028, eFILEOPEN = -10029, eFILEACCESS = -10030, eFILEEXIST = -10031,
  eFILENOENTRY = -10032, eFILEISDIR = -10033, eEOF = -10034, eBROKENPIPE = -10035,
  eUNOMISMATCH = -10036, eNOSPACE = -10037, ePRECOMMITTED = -10038, eINVDBNAMESPEC = -10039,
  eINVTFSSPEC = -10040, eFILEINUSE = -10041, eTRUNCATED = -10042, eBADREAD = -10043,
  eBADWRITE = -10044, eRANGE = -10045, eINVKEYVALUE = -10046, eINVBCD = -10047,
  eINVBOUNDARYVAL = -10048, eDUPUSERID = -10049, eREADONLY = -10050, eMKDIR = -10051,
  eRECOVERYFAILED = -10052, eNOTFOUND = -10053, eSYNTAX = -10054, eBADDATALEN = -10055,
  eINVROWIDVAL = -10056, eVALUEISLIST = -10057, eINVVARINT = -10058, eDATALOST = -10059,
  eINVBINLITERAL = -10060, eTYPEMISMATCH = -10061, eROWIDRANGE = -10062, eROWIDMISMATCH = -10063,
  eROWLIMIT = -10064, eINVCONVERT = -10065, eINVUTF = -10066, eINVOPTION = -10067,
  eINVOPTIONVALUE = -10068, eDBNOTCLOSED = -10069, eINVARG = -10070, eINVARGTYPE = -10071,
  eINVTRID = -10072, eNOTSUPPORTED = -10073, eNOTROOTUPDATETRANS = -10074, eESCAPE = -10075,
  eSTRTOOLONG = -10076, eDBEXISTS = -10077, eEOD = -10078, eINVID = -10079,
  eINVUNICODE = -10080, eCOLCOUNTMISMATCH = -10081, eKEYCOLCOUNTMISMATCH = -10082, eHASMEMBERS = -10083,
  eDEPRECATED = -10084, eINVTIMEOUT = -10085, eLEGACYAPI = -10086, eLEGACYDB = -10087,
  eINMEMMISMATCH = -10088, eBADWILDALL = -10089, eBADWILDONE = -10090, eBADSNAPSHOTMODE = -10091,
  eINVHANDLE = -10092, eINVSQLTYPE = -10093, eCONNNOTOPEN = -10094, eDIVBY0 = -10095,
  eNOTANUMBER = -10096, eINVALID = -10097, eUNAVAIL = -10098, eTABNOTFOUND = -10099,
  eCOLNOTFOUND = -10100, eNOFILE = -10101, eINSERTVALS = -10102, eINVTRIGSTMT = -10103,
  eNOSTATS = -10104, eDROPONLYCOL = -10105, eTFSOPTIONALLOC = -10106, eOPTIONINCOMPAT = -10107,
  eINVINFOKEY = -10108, eDBCORRUPTED = -10109, eDROPTRIGCOL = -10110, 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_GENERROR = -13015, eTFS_WRITEFAIL = -13016, eTFS_INVFILE = -13017,
  eTFS_IASYNC_ON = -13018, eTFS_BLOCKED = -13019, eTFS_INVOPERATION = -13020, eTFS_NOTRANS = -13021,
  eTFS_DBOPEN = -13022, eTFS_NOPAGE = -13023, eTFS_COMMITFAILED = -13024, eTFS_DBINUSE = -13025,
  eTFS_INIEDITED = -13026, eTFS_ININOTEDITED = -13027, eTFS_NAMEINUSE = -13028, eTFS_NOMIR = -13029,
  eTFS_NOSQL = -13030, eTFS_NOTFS = -13031, eTFS_CONNECT = -13032, eTFS_ENCNOTINIT = -13033,
  ePSP_FAILURE = -14000, ePSP_MUTEX_FAILURE = -14001, ePSP_NO_MATCH = -14002, ePSP_PRIV = -14003,
  ePSP_INVUSER = -14004, ePSP_INVPASS = -14005, ePSP_NOSOURCE = -14006, ePSP_NODEST = -14007,
  ePSP_INVUUID = -14008, ePSP_DEADLOCK = -14009, 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, eDDL_TBD = -14563, 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_NODIRECTORY = -15166, eSQL_NOINSERTVALS = -15167, eSQL_DEFINSERTVALS = -15168, eSQL_INVARRAYTYPE = -15169,
  eSQL_NOTARRAY = -15170, eSQL_BADSUBSCRIPT = -15171, eSQL_INVARRAYOP = -15172, eSQL_RECURSIVEPROC = -15173,
  eSQL_TBD = -15174, eSQL_SYSTEM = -15175, 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, eRDBC_OPTDEPRECATED = -17025, 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 702 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 703 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.

sDBNOTFOUND 

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_daemonStart.

sBASE_QUEUE_CLOSED 

No more messages and the queue is closed.

sBASE_QUEUE_EMPTY 

Timed out. Queue is empty, try again later.

sOKAY 

Normal, successful return.

eFAIL 

General failure.

eNOMEMORY 

Out of memory.

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.

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.

eNOFILE 

File does not exist.

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_GENERROR 

Generic TFS error.

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_NO_MATCH 

No match found 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.

eDDL_TBD 

DDL TBD code (last DDL error code).

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_NODIRECTORY 

Local directory does not exist.

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.

eRDBC_OPTDEPRECATED 

Deprecated attribute/option identifier.

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  sDBNOTFOUND = 10035,
84  sKVNOVALUE = 10036,
85  sOPTIONIGNORED = 10037,
86  sCHILD = 10038,
87  sBASE_QUEUE_CLOSED = 10039,
88  sBASE_QUEUE_EMPTY = 10040,
90  /* ok codes: */
91  sOKAY = 0,
93  /* fail codes: */
94  eFAIL = -1,
96  /* general codes: */
97  eNOMEMORY = -10000,
98  eDBNOTOPEN = -10001,
99  eDBOPEN = -10002,
100  eEXCLUSIVE = -10003,
101  eBADCAT = -10004,
102  eSQLRESERVED = -10005,
103  eTRACTIVE = -10006,
104  eTRNOTACT = -10007,
105  eNOSTART = -10008,
106  eNOSTARTUPDATE = -10009,
107  eNOSTARTREAD = -10010,
108  eNOTLOCKED = -10011,
109  eNOTFREE = -10012,
110  eDUPLICATE = -10013,
111  eREFINTEGRITY = -10014,
112  eCHECK = -10015,
113  eNODB = -10016,
114  eSNAPSHOTACTIVE = -10017,
115  eSNAPSHOTNOTACTIVE = -10018,
116  eOPENMODE = -10019,
117  eNOTIMPLEMENTED = -10020,
118  eINVFCNARG = -10021,
119  eINVNULLARG = -10022,
120  eINVFCNSEQ = -10023,
121  eINVLITERAL = -10024,
122  eMISSINGLITERAL = -10025,
123  eCIRTABDELETE = -10026,
124  eNOTNULL = -10027,
125  eFILEIO = -10028,
126  eFILEOPEN = -10029,
127  eFILEACCESS = -10030,
128  eFILEEXIST = -10031,
129  eFILENOENTRY = -10032,
130  eFILEISDIR = -10033,
131  eEOF = -10034,
132  eBROKENPIPE = -10035,
133  eUNOMISMATCH = -10036,
134  eNOSPACE = -10037,
135  ePRECOMMITTED = -10038,
136  eINVDBNAMESPEC = -10039,
137  eINVTFSSPEC = -10040,
138  eFILEINUSE = -10041,
139  eTRUNCATED = -10042,
140  eBADREAD = -10043,
141  eBADWRITE = -10044,
142  eRANGE = -10045,
143  eINVKEYVALUE = -10046,
144  eINVBCD = -10047,
145  eINVBOUNDARYVAL = -10048,
146  eDUPUSERID = -10049,
147  eREADONLY = -10050,
148  eMKDIR = -10051,
149  eRECOVERYFAILED = -10052,
150  eNOTFOUND = -10053,
151  eSYNTAX = -10054,
152  eBADDATALEN = -10055,
153  eINVROWIDVAL = -10056,
154  eVALUEISLIST = -10057,
155  eINVVARINT = -10058,
156  eDATALOST = -10059,
157  eINVBINLITERAL = -10060,
158  eTYPEMISMATCH = -10061,
159  eROWIDRANGE = -10062,
160  eROWIDMISMATCH = -10063,
161  eROWLIMIT = -10064,
162  eINVCONVERT = -10065,
163  eINVUTF = -10066,
164  eINVOPTION = -10067,
165  eINVOPTIONVALUE = -10068,
166  eDBNOTCLOSED = -10069,
167  eINVARG = -10070,
168  eINVARGTYPE = -10071,
169  eINVTRID = -10072,
170  eNOTSUPPORTED = -10073,
171  eNOTROOTUPDATETRANS = -10074,
172  eESCAPE = -10075,
173  eSTRTOOLONG = -10076,
174  eDBEXISTS = -10077,
175  eEOD = -10078,
176  eINVID = -10079,
177  eINVUNICODE = -10080,
178  eCOLCOUNTMISMATCH = -10081,
179  eKEYCOLCOUNTMISMATCH = -10082,
180  eHASMEMBERS = -10083,
181  eDEPRECATED = -10084,
182  eINVTIMEOUT = -10085,
183  eLEGACYAPI = -10086,
184  eLEGACYDB = -10087,
185  eINMEMMISMATCH = -10088,
186  eBADWILDALL = -10089,
187  eBADWILDONE = -10090,
188  eBADSNAPSHOTMODE = -10091,
189  eINVHANDLE = -10092,
190  eINVSQLTYPE = -10093,
191  eCONNNOTOPEN = -10094,
192  eDIVBY0 = -10095,
193  eNOTANUMBER = -10096,
194  eINVALID = -10097,
195  eUNAVAIL = -10098,
196  eTABNOTFOUND = -10099,
197  eCOLNOTFOUND = -10100,
198  eNOFILE = -10101,
199  eINSERTVALS = -10102,
200  eINVTRIGSTMT = -10103,
201  eNOSTATS = -10104,
202  eDROPONLYCOL = -10105,
203  eTFSOPTIONALLOC = -10106,
204  eOPTIONINCOMPAT = -10107,
205  eINVINFOKEY = -10108,
206  eDBCORRUPTED = -10109,
207  eDROPTRIGCOL = -10110,
209  /* base codes: */
210  eBASE_INVDATE = -11000,
211  eBASE_INVTIMEZONE = -11001,
212  eBASE_COMMAND = -11002,
213  eBASE_QUEUE_CLOSED = -11003,
215  /* core codes: */
216  eDEFUNCT = -12000,
217  eINVTASKID = -12001,
218  eINVDBID = -12002,
219  eINVCURSORID = -12003,
220  eINVTRANSID = -12004,
221  eNOTRANSID = -12005,
222  eCURSORDB = -12006,
223  eINVTFSID = -12007,
224  eINVFORUNION = -12008,
225  eNOTKEY = -12009,
226  eNOTBLOB = -12010,
227  eINVLOCKTYPE = -12011,
228  eINVKEYID = -12012,
229  eKEYREQD = -12013,
230  eINVCOLID = -12014,
231  eINVTABID = -12015,
232  eINVREFID = -12016,
233  eINVIDENTIFIER = -12017,
234  eINVCURSOROP = -12018,
235  eDELETED = -12019,
236  eOWNERDELETED = -12020,
237  eSINGLETONDELETED = -12021,
238  eNOTOWNER = -12022,
239  eNOTMEMBER = -12023,
240  eNOTRELATED = -12024,
241  eNOCURRENTROW = -12025,
242  eNOCURRENTOWNER = -12026,
243  eNOCURRENTMEMBER = -12027,
244  eNOTLINKED = -12028,
245  eINVITERATION = -12029,
246  eLOSTPOSITION = -12030,
247  eINVCURSORCOL = -12031,
248  eINVCURSORKEY = -12032,
249  eNOTINCURSOR = -12033,
250  eBLOBBADSIZE = -12034,
251  eBLOBBADPOSITION = -12035,
252  eHASOWNER = -12036,
253  eISOWNED = -12037,
254  eEOS = -12038,
255  eISCOMPOUNDKEY = -12039,
256  eCOMPOUNDKEY = -12040,
257  eKEYERR = -12041,
258  eKEYSEQ = -12042,
259  eVARDATALEN = -12043,
260  eVARDATAPTR = -12044,
261  eTRFREE = -12045,
262  eBADLOCKS = -12046,
263  eINUPDATE = -12047,
264  eININIT = -12048,
265  eINVKEYSPEC = -12049,
266  eREADONLYCURSOR = -12050,
267  eSLAVEREADONLY = -12051,
268  eDEBUG = -12052,
269  eINVENCRYPT = -12053,
270  eENCRYPTMISMATCH = -12054,
271  eSETPAGES = -12055,
272  eINVFILE = -12056,
273  eREP_INVOP = -12057,
274  eDBDREAD = -12058,
275  eINVENDIAN = -12059,
276  eINVSTRING = -12060,
277  eINVDBA = -12061,
278  eCATMISMATCH = -12062,
279  eSCHEMACHANGE = -12063,
280  eDBD_NONAMES = -12064,
281  eNOT_ENCRYPTED = -12065,
282  eREPLOG_ERROR = -12066,
283  eREPLOG_EOF = -12067,
284  eINVDB = -12068,
285  eIMPBADXML = -12069,
286  eIMPBADDATA = -12070,
287  eMULTIPLE_DBS = -12071,
288  eUNIONCATMISMATCH = -12072,
289  eINCOMPAT = -12073,
290  eINVOPFORBLOB = -12074,
291  eINVOPENMODE = -12075,
292  eDBOPENED = -12076,
293  eNOCURRTYPE = -12077,
294  eTABLEISINREF = -12078,
295  eNOCOLUMNVALUE = -12079,
296  eNULLCOLUMNVALUE = -12080,
297  eINVDATEFMT = -12081,
298  eINVDATESEP = -12082,
299  eINVTIMEFMT = -12083,
300  eVTNOTREGISTERED = -12084,
301  eMIXEDTRANS = -12085,
302  eINVLOCALE = -12086,
303  eLOCALEMISMATCH = -12087,
304  eNOTRTREE = -12088,
305  eISRTREE = -12089,
306  eDROPPED = -12090,
308  /* tfs codes: */
309  eTFS_INVHANDLE = -13000,
310  eTFS_INVTYPE = -13001,
311  eTFS_NOTINITIALIZED = -13002,
312  eTFS_DUPUSER = -13003,
313  eTFS_FCNSEQ = -13004,
314  eTFS_ILLEGALMOD = -13005,
315  eTFS_ILLEGALACCESS = -13006,
316  eTFS_INVDBID = -13007,
317  eTFS_INVUSERID = -13008,
318  eTFS_INVIDINDEX = -13009,
319  eTFS_IDINDEXOFFSET = -13010,
320  eTFS_IDINDEXLENGTH = -13011,
321  eTFS_DOCROOTUSED = -13012,
322  eTFS_DOCROOTNOTFOUND = -13013,
323  eTFS_DOCROOTINVALID = -13014,
324  eTFS_GENERROR = -13015,
325  eTFS_WRITEFAIL = -13016,
326  eTFS_INVFILE = -13017,
327  eTFS_IASYNC_ON = -13018,
328  eTFS_BLOCKED = -13019,
329  eTFS_INVOPERATION = -13020,
330  eTFS_NOTRANS = -13021,
331  eTFS_DBOPEN = -13022,
332  eTFS_NOPAGE = -13023,
333  eTFS_COMMITFAILED = -13024,
334  eTFS_DBINUSE = -13025,
335  eTFS_INIEDITED = -13026,
336  eTFS_ININOTEDITED = -13027,
337  eTFS_NAMEINUSE = -13028,
338  eTFS_NOMIR = -13029,
339  eTFS_NOSQL = -13030,
340  eTFS_NOTFS = -13031,
341  eTFS_CONNECT = -13032,
342  eTFS_ENCNOTINIT = -13033,
344  /* psp codes: */
345  ePSP_FAILURE = -14000,
346  ePSP_MUTEX_FAILURE = -14001,
347  ePSP_NO_MATCH = -14002,
348  ePSP_PRIV = -14003,
349  ePSP_INVUSER = -14004,
350  ePSP_INVPASS = -14005,
351  ePSP_NOSOURCE = -14006,
352  ePSP_NODEST = -14007,
353  ePSP_INVUUID = -14008,
354  ePSP_DEADLOCK = -14009,
356  /* ddl codes: */
357  eDDL_SYNTAX = -14500,
358  eDDL_CRDBACTIVE = -14501,
359  eDDL_WRONGDB = -14502,
360  eDDL_DUPCOLUMN = -14503,
361  eDDL_NOTWITHDOMAIN = -14504,
362  eDDL_DOMNOTFOUND = -14505,
363  eDDL_BADDATATYPE = -14506,
364  eDDL_DUPTABNAME = -14507,
365  eDDL_DUPCOLNAME = -14508,
366  eDDL_FKMISMATCH = -14509,
367  eDDL_REFNULL = -14510,
368  eDDL_NOPRIKEY = -14511,
369  eDDL_DEFAUTO = -14512,
370  eDDL_DEFCURRENT = -14513,
371  eDDL_BADVARPREC = -14514,
372  eDDL_VARCHARLEN = -14515,
373  eDDL_BINLEN = -14516,
374  eDDL_NOMAXROWS = -14517,
375  eDDL_MAXROWSVALUE = -14518,
376  eDDL_CONSTRNAME = -14519,
377  eDDL_NULLCONFLICT = -14520,
378  eDDL_DROPCOLUMN = -14521,
379  eDDL_DROPNOTNULL = -14522,
380  eDDL_ALTERCHECK = -14523,
381  eDDL_CONSTRNOTFOUND = -14524,
382  eDDL_NOREFDTABLE = -14525,
383  eDDL_COLDOMCONSTR = -14526,
384  eDDL_DROPREFDKEY = -14527,
385  eDDL_FKCOLINFK = -14528,
386  eDDL_ALTERTYPE = -14529,
387  eDDL_NEEDTABLE = -14530,
388  eDDL_DROPTABLE = -14531,
389  eDDL_DROPFKCOL = -14532,
390  eDDL_DROPDOMAIN = -14533,
391  eDDL_DOMAINCHECK = -14534,
392  eDDL_DBEXISTS = -14535,
393  eDDL_CONDEXPR = -14536,
394  eDDL_DISPLAY = -14537,
395  eDDL_COLTYPE = -14538,
396  eDDL_COLDECL = -14539,
397  eDDL_COLCONSTRAINT = -14540,
398  eDDL_TABCONSTRAINT = -14541,
399  eDDL_INDEXMETHOD = -14542,
400  eDDL_ORDERBY = -14543,
401  eDDL_ONACTION = -14544,
402  eDDL_KEYSPEC = -14545,
403  eDDL_FORKEYSPEC = -14546,
404  eDDL_ERRORS = -14547,
405  eDDL_ALTERCOL = -14548,
406  eDDL_NOARRAYS = -14549,
407  eDDL_NOBLOBS = -14550,
408  eDDL_ALTERACT = -14551,
409  eDDL_HASPRIKEY = -14552,
410  eDDL_NOLOBKEYS = -14553,
411  eDDL_NODBNAME = -14554,
412  eDDL_INVDEF = -14555,
413  eDDL_NOHASHORDER = -14556,
414  eDDL_BADRTREECOLS = -14557,
415  eDDL_BADRTREELEN = -14558,
416  eDDL_NONUNIQUEHASH = -14559,
417  eDDL_TABREFFEDINPL = -14560,
418  eDDL_COLWITHDEFVAL = -14561,
419  eDDL_INVCHGFORKEY = -14562,
420  eDDL_TBD = -14563,
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_NODIRECTORY = -15166,
590  eSQL_NOINSERTVALS = -15167,
591  eSQL_DEFINSERTVALS = -15168,
592  eSQL_INVARRAYTYPE = -15169,
593  eSQL_NOTARRAY = -15170,
594  eSQL_BADSUBSCRIPT = -15171,
595  eSQL_INVARRAYOP = -15172,
596  eSQL_RECURSIVEPROC = -15173,
597  eSQL_TBD = -15174,
598  eSQL_SYSTEM = -15175,
600  /* mirroring codes: */
601  eMIR_SYNC_GENERROR = -16000,
602  eMIR_SYNC_TIMEOUT = -16001,
603  eMIR_INVLOGFILE = -16002,
605  /* rdbc codes: */
606  eRDBC_BADCTYPE = -17000,
607  eRDBC_BADSTYPE = -17001,
608  eRDBC_NOMEMORY = -17002,
609  eRDBC_TYPEATTR = -17003,
610  eRDBC_NOTCAPABLE = -17004,
611  eRDBC_DESCRANGE = -17005,
612  eRDBC_INVDESCIDX = -17006,
613  eRDBC_NOTCURSOR = -17007,
614  eRDBC_INVIRDMOD = -17008,
615  eRDBC_INVOPENMODE = -17009,
616  eRDBC_OPTIONRANGE = -17010,
617  eRDBC_NOINDVAR = -17011,
618  eRDBC_CLOSEHDBC = -17012,
619  eRDBC_OPENHDBCS = -17013,
620  eRDBC_AUTODESCR = -17014,
621  eRDBC_ATTRVALUE = -17015,
622  eRDBC_FCNRANGE = -17016,
623  eRDBC_INVOPNOW = -17017,
624  eRDBC_BADDESCINFO = -17018,
625  eRDBC_CONCATNULL = -17019,
626  eRDBC_COLRANGE = -17020,
627  eRDBC_SCOPERANGE = -17021,
628  eRDBC_NULLRANGE = -17022,
629  eRDBC_UNIQUERANGE = -17023,
630  eRDBC_ACCURANGE = -17024,
631  eRDBC_OPTDEPRECATED = -17025,
633  /* tx codes: */
634  eTX_DISABLED = -18000,
635  eTX_TRUNCATED = -18001,
636  eTX_NETREAD = -18002,
637  eTX_NETWRITE = -18003,
638  eTX_CONNECT = -18004,
639  eTX_HOSTNAME = -18005,
640  eTX_ACCEPT = -18006,
641  eTX_LISTEN = -18007,
642  eTX_NO_REMOTE = -18008,
643  eTX_GENERROR = -18009,
645  /* system codes: */
646  eSYS_BADERRCODE = -20000,
647  eSYS_ERRACTIVE = -20001,
648  eSYS_ERRCATCH = -20002,
649  eSYS_DCHAIN = -20003,
650  eSYS_BADTREE = -20004,
651  eSYS_BADHASH = -20005,
652  eSYS_KEYEXIST = -20006,
653  eSYS_BADOPTKEY = -20007,
654  eSYS_BADFREE = -20008,
655  eSYS_ERROR = -20009,
656  eSYS_NOSQLSTATE = -20010,
658  /* http codes: */
659  eHTTP_BADREQUEST = -21000,
660  eHTTP_URITOOLONG = -21001,
661  eHTTP_ENTTOOLARGE = -21002,
662  eHTTP_NOLENGTH = -21003,
663  eHTTP_INVHANDLE = -21004,
664  eHTTP_INVURLARGFMT = -21005,
665  eHTTP_BADUSERID = -21006,
667  /* q/a codes: */
668  eQA_ILLEGAL_TFS_COMBINATION = -29000,
669  eQA_TEST_TIMEOUT = -29001,
670  eQA_ILLEGAL_FILENAME = -29002,
671  eQA_ILLEGAL_NAMESPACE = -29003,
672  eQA_FEATURE_NOTIMPLEMENTED = -29004,
674  eQA_HAS_FLOAT_REQUIRED = -29006,
675  eQA_CASE_FAILED = -29007,
676  eQA_NEED_DESCRIPTION = -29008,
677  eQA_HELP = -29009,
678  eQA_MISSING_ARGUMENT = -29010,
679  eQA_NO_TESTS_SELECTED = -29011,
680  eQA_CASE_DESCRIBED = -29012,
681  eQA_LOG_BAD_READ = -29013,
682  eQA_LOG_BAD_WRITE = -29014,
683  eQA_LOG_OPEN = -29015,
684  eQA_TFS_PROPERTY_CONFLICT = -29016,
685  eQA_TFS_PROPERTY_UNSET = -29017,
686  eQA_NO_GLOBAL_ENC = -29018,
687  eQA_FORK = -29019,
688  eQA_MMAP = -29020,
689  eQA_KILL = -29021,
690  eQA_CHILD_EXIT = -29022,
691  eQA_END_OF_LIST = -29023,
692  eQA_RDBC_INVHANDLE = -29024,
693  eQA_RDBC_ERROR = -29025,
695  /* embed codes: */
696  eEMBED_FILE_NOT_FOUND = -30000,
697  eEMBED_UNKNOWN_COMMAND = -30001,
698  eEMBED_ILLEGAL_NAMESPACE = -30002,
699  eEMBED_CONTENT_MISMATCH = -30003
700 } RDM_RETCODE;
RDM_RETCODE
RDM status and error return codes.