|目次前ページ次ページ|
─────────────────────────────────────
3.リスポンスメッセージ 

◆リスポンスメッセージ及び通知メッセージ形式  

※リスポンスメッセージは、コマンドシーケンスを発行した結果の戻り値です。

---------------------------------------------------------------------
  !!$db$(エラーコード1);(エラーコード2);(内部エラーコード) 
             ;(id);(コマンドコード) 
             ;(補助1);(補助2);(リザーブド) 
            $$(結果データ) 
            $$(エラーメッセージデータ) 
            $$(将来追加データ有)<CR>  
---------------------------------------------------------------------
---------------------------------------------------------------------
$3 [1](エラーコード1) = ※DB関数のリザルトエラーコードの内状態を表すコード 
                    エラーコード表 ERRCODE_xxxxx で記載  
                  0:明らかなエラーはない 
                  255:id#が不正や編集番号が不正の場合 
                  エラーコード 1->255 
                  ex. 1 : BOF (エラーコード2)により異なります 
                      2 : EOF 
   [2](エラーコード2) = ※DB関数のリザルトエラーコードの内コードを出した処理を表すコード 
                    エラーコード表 ERRCAT_xxxxx で記載  
   [3](内部エラーコード) = vcomがエラーとした場合のコード(長さが255を超えた等) 
   [4](id)       = DataBaseを示すvcomのid番号 (1→1023) 
                   又は、Cursorを示すvcomのid番号 (1→1023) 
   [5](コマンドコード)= この応答メッセージの元となるエスケープシーケンスの先頭コード 
   [6](補助1)    =  "ATEND":BOF,EOFの時 
                    "NOTF":一致するキーがない 
                    "NULL":フィールドが空白(1個のフィールドを取得時) 
                    レコード数等の数値 
                    "ERR":エラー(エラーの時いつもセットされいるわけではない) 
                    "EOB":ブロックアクセスの時レコードの終端 
                    "BOB":ブロックアクセスの時レコードの上端 
                    "FIELDTYPE":フィールド型変換が出来なかった 
                           -> 全フィールド操作の場合はエラーとしません 
   [7](補助2)     = 
$5    $$(結果データ) = (結果データ文字列) <-- $P(respon,"$$",2) 
$7    $$(エラーメッセージ) = (エラーメッセージデータ文字列) <-- $P(respon,"$$",3) 
---------------------------------------------------------------------
//============================================================================ 
 ※(エラーコード2)※ 
 //           Error Categories  
//============================================================================ 
ERRCAT_NONE                0   //  0   No error 
ERRCAT_SYSTEM            0x21  //  33  System related (Fatal Error) 
ERRCAT_NOTFOUND          0x22  //  34  Object of interest Not Found 
ERRCAT_DATACORRUPT       0x23  //  35  Physical Data Corruption 
ERRCAT_IO                0x24  //  36  I/O related error 
ERRCAT_LIMIT             0x25  //  37  Resource or Limit error 
ERRCAT_INTEGRITY         0x26  //  38  Integrity Violation 
ERRCAT_INVALIDREQ        0x27  //  39  Invalid Request 
ERRCAT_LOCKCONFLICT      0x28  //  40  Locking/Contention related 
ERRCAT_SECURITY          0x29  //  41  Access Violation - Security related 
ERRCAT_INVALIDCONTEXT    0x2A  //  42  Invalid context 
ERRCAT_OS                0x2B  //  43  Os Error not handled by Idapi 
ERRCAT_NETWORK           0x2C  //  44  Network related 
ERRCAT_OPTPARAM          0x2D  //  45  Optional parameter related 
ERRCAT_QUERY             0x2E  //  46  Query related 
ERRCAT_VERSION           0x2F  //  47  Version Mismatch Category 
ERRCAT_CAPABILITY        0x30  //  48  Capability not supported 
ERRCAT_CONFIG            0x31  //  49  System configuration error 
ERRCAT_WARNING           0x32  //  50 
ERRCAT_OTHER             0x33  //  51  Miscellaneous 
ERRCAT_COMPATIBILITY     0x34  //  52  Compatibility related 
ERRCAT_REPOSITORY        0x35  //  53  Data Repository related 
ERRCAT_DRIVER            0x3E  //  62  Driver related 
ERRCAT_RC                0x3F  //  63  Internal 
//============================================================================= 
 ※(エラーコード1)※ 
 //          Error Codes By Category  
//============================================================================= 
// =========== 
ERRCODE_NONE             0   // エラー無し
//  ============= 
 //  ERRCAT_SYSTEM  
//  ============= 
 ERRCODE_SYSFILEOPEN     1   // Cannot open a system file 
 ERRCODE_SYSFILEIO       2   // I/O error on a system file 
 ERRCODE_SYSCORRUPT      3   // Data structure corruption 
 ERRCODE_NOCONFIGFILE    4   // Cannot find config file 
 ERRCODE_CFGCANNOTWRITE  5   // Cannot write config file (READONLY) 
 ERRCODE_CFGMULTIFILE    6   // Initializing with different ini file 
 ERRCODE_REENTERED       7   // System has been illegally re-entered 
 ERRCODE_CANTFINDIDAPI   8   // Cannot locate IDAPIxx.DLL 
 ERRCODE_CANTLOADIDAPI   9   // Cannot load IDAPIxx.DLL 
 ERRCODE_CANTLOADLIBRARY 10  // Cannot load a service DLL 
 ERRCODE_TEMPFILEERR     11  // Cannot create or open temporary file 
 ERRCODE_MULTIPLEIDAPI   12  // Trying to load multiple IDAPIxx.DLL 
//  =============== 
 //  ERRCAT_NOTFOUND  
//  =============== 
 ERRCODE_BOF             1    // Beginning of Virtual table 
 ERRCODE_EOF             2    // End of Virtual table 
 ERRCODE_RECMOVED        3    // Fly-away 
 ERRCODE_KEYORRECDELETED 4    // Record Deleted/Key Modified 
 ERRCODE_NOCURRREC       5    // No current record 
 ERRCODE_RECNOTFOUND     6    // Record was not found 
 ERRCODE_ENDOFBLOB       7    // End of Blob reached 
 ERRCODE_OBJNOTFOUND     8    // Generic Not found 
 ERRCODE_FMLMEMBERNOTFOUND 9      // Family member not found 
 ERRCODE_BLOBFILEMISSING 10       // 0x0a Blob file for table is missing 
 ERRCODE_LDNOTFOUND      11       // 0x0b Language driver not found 
// ================== 
 // ERRCAT_DATACORRUPT  
// ================== 
 ERRCODE_HEADERCORRUPT   1    // Corrupt Header 
 ERRCODE_FILECORRUPT     2    // File corrupt - other than header 
 ERRCODE_MEMOCORRUPT     3    // Memo file corrupted 
 ERRCODE_BMPCORRUPT      4    // BitMap is corrupt (Internal error) 
 ERRCODE_INDEXCORRUPT    5    // Index is corrupt 
 ERRCODE_CORRUPTLOCKFILE 6    // Corrupt lock file 
 ERRCODE_FAMFILEINVALID  7    // Corrupt family file 
 ERRCODE_VALFILECORRUPT  8    // Val file is missing or corrupt 
 ERRCODE_FOREIGNINDEX    9    // Index is in a foreign format - import first 
// ========= 
 // ERRCAT_IO  
// ========= 
 ERRCODE_READERR         1    // Read failure (not expected) 
 ERRCODE_WRITEERR        2    // Write failure (not expected) 
 ERRCODE_DIRNOACCESS     3    // No access to dir 
 ERRCODE_FILEDELETEFAIL  4    // File delete failed 
 ERRCODE_FILENOACCESS    5    // No access to file 
 ERRCODE_ACCESSDISABLED  6    // Access to table disabled (previous error) 
// ============ 
 // ERRCAT_LIMIT  
// ============ 
 ERRCODE_NOMEMORY        1    // Not enough Memory for this op 
 ERRCODE_NOFILEHANDLES   2    // Not enough File handles 
 ERRCODE_NODISKSPACE     3    // Not enough Disk space 
 ERRCODE_NOTEMPTBLSPACE  4    // Temporary Table resource limit 
 ERRCODE_RECTOOBIG       5    // Too big a record size for table 
 ERRCODE_CURSORLIMIT     6    // Too many open cursors 
 ERRCODE_TABLEFULL       7    // Table is full 
 ERRCODE_WSSESLIMIT      8    // Too many sessions from this WS 
 ERRCODE_SERNUMLIMIT     9    // Serial number limit (paradox) 
 ERRCODE_INTERNALLIMIT   10   // 0x0a Some internal limit (see context) 
 ERRCODE_OPENTBLLIMIT    11   // 0x0b Too many open tables 
 ERRCODE_TBLCURSORLIMIT  12   // 0x0c Too many cursors per table 
 ERRCODE_RECLOCKLIMIT    13   // 0x0d Too many record locks on table 
 ERRCODE_CLIENTSLIMIT    14   // 0x0e Too many clients 
 ERRCODE_INDEXLIMIT      15   // 0x0f Too many indexes (also in Table Create) 
 ERRCODE_SESSIONSLIMIT   16   // 0x10 Too many sessions 
 ERRCODE_DBLIMIT         17   // 0x11 Too many databases 
 ERRCODE_PASSWORDLIMIT   18   // 0x12 Too many passwords 
 ERRCODE_DRIVERLIMIT     19   // 0x13 Too many active drivers 
 ERRCODE_FLDLIMIT        20   // 0x14 Too many Fields in Table Create 
 ERRCODE_TBLLOCKLIMIT    21   // 0x15 Too many table locks 
 ERRCODE_OPENBLOBLIMIT   22   // 0x16 Too many open blobs 
 ERRCODE_LOCKFILELIMIT   23   // 0x17 Lock file has grown too big 
 ERRCODE_OPENQRYLIMIT    24   // 0x18 Too many open queries 
 ERRCODE_THREADLIMIT     25   // 0x19 Too many threads for client 
 ERRCODE_BLOBLIMIT       26   // 0x1a Too many blobs 
 ERRCODE_PDX50NAMELIMIT  27   // 0x1b Pathname is too long for a Paradox 5.0 or less table 
 ERRCODE_ROWFETCHLIMIT   28   // 0x1c Row fetch limit 
 ERRCODE_LONGNAMENOTALLOWED 29    // 0x1d Long name is not allowed for this tableversion 
// ================ 
 // ERRCAT_INTEGRITY  
// ================ 
ERRCODE_KEYVIOL             1     // Key violation 
ERRCODE_MINVALERR           2     // Min val check failed 
ERRCODE_MAXVALERR           3     // Max val check failed 
ERRCODE_REQDERR             4     // Field value required 
ERRCODE_FORIEGNKEYERR       5     // Master record missing 
ERRCODE_DETAILRECORDSEXIST  6     // Cannot MODIFY or DELETE this Master record
 
ERRCODE_MASTERTBLLEVEL      7     // Master Table Level is incorrect 
ERRCODE_LOOKUPTABLEERR      8     // Field value out of lookup tbl range 
ERRCODE_LOOKUPTBLOPENERR    9     // Lookup Table Open failed 
ERRCODE_DETAILTBLOPENERR   10     // 0x0a Detail Table Open failed 
ERRCODE_MASTERTBLOPENERR   11     // 0x0b Master Table Open failed 
ERRCODE_FIELDISBLANK       12     // 0x0c Field is blank 
ERRCODE_MASTEREXISTS       13     // 0x0d Master Table exists 
ERRCODE_MASTERTBLOPEN      14     // 0x0e Master Table is open 
ERRCODE_DETAILTABLESEXIST    15   // 0x0f Detail Tables exist ( cannot delete, rename ... ) 
ERRCODE_DETAILRECEXISTEMPTY  16   // 0x10 Cannot empty because details exist 
ERRCODE_MASTERREFERENCEERR   17   // 0x11 Cannot modify while adding self referencing Referential Integrity 
ERRCODE_DETAILTBLOPEN        18   // 0x12 Detail Table is opened 
ERRCODE_DEPENDENTSMUSTBEEMPTY  19 // 0x13 Cannot make a master a detail of another table if its details are not empty ! 
ERRCODE_RINTREQINDEX         20   // 0x14 Ref. integrity fields must be indexed 
ERRCODE_LINKEDTBLPROTECTED   21   // 0x15 Master Table is protected ( requires password to open) 
ERRCODE_FIELDMULTILINKED     22   // 0x16 Field has more than one master 
// ================= 
 // ERRCAT_INVALIDREQ  
// ================= 
 ERRCODE_OUTOFRANGE           1     // Number out of range (e.g field no) 
 ERRCODE_INVALIDPARAM         2     // Generic invalid parameter 
 ERRCODE_INVALIDFILENAME      3     // Invalid file name 
 ERRCODE_NOSUCHFILE           4     // No such file 
 ERRCODE_INVALIDOPTION        5     // Invalid option for a parameter 
 ERRCODE_INVALIDHNDL          6     // Invalid handle to the function 
 ERRCODE_UNKNOWNTBLTYPE       7     // Table type given not known 
 ERRCODE_UNKNOWNFILE          8     // Dont know how to open file 
 ERRCODE_PRIMARYKEYREDEFINE   9     // Cannot redefine primary key 
 ERRCODE_INVALIDRINTDESCNUM   10    // 0x0a Cannot change this RINTDesc 
 ERRCODE_KEYFLDTYPEMISMATCH   11    // 0x0b Foreign & Primary Key Mismatch 
 ERRCODE_INVALIDMODIFYREQUEST 12    // 0x0c Invalid modify request 
 ERRCODE_NOSUCHINDEX          13    // 0x0d Index does not exist 
 ERRCODE_INVALIDBLOBOFFSET    14    // 0x0e Invalid Offset into the Blob 
 ERRCODE_INVALIDDESCNUM       15    // 0x0f Invalid descriptor number 
 ERRCODE_INVALIDFLDTYPE       16    // 0x10 Invalid field type 
 ERRCODE_INVALIDFLDDESC       17    // 0x11 Invalid field descriptor 
 ERRCODE_INVALIDFLDXFORM      18    // 0x12 Invalid field transform 
 ERRCODE_INVALIDRECSTRUCT     19    // 0x13 Invalid record structure 
 ERRCODE_INVALIDDESC          20    // 0x14 Generic: invalid descriptor 
 ERRCODE_INVALIDINDEXSTRUCT   21    // 0x15 Invalid array of indexes descriptor 
 ERRCODE_INVALIDVCHKSTRUCT    22    // 0x16 Invalid array of  val. check descriptors 
 ERRCODE_INVALIDRINTSTRUCT    23    // 0x17 Invalid array of ref. integrity descriptors 
 ERRCODE_INVALIDRESTRTBLORDER 24    // 0x18 Invalid ordering of tables during restructure 
 ERRCODE_NAMENOTUNIQUE        25    // 0x19 Name not unique in this context 
 ERRCODE_INDEXNAMEREQUIRED    26    // 0x1a Index name required 
 ERRCODE_INVALIDSESHANDLE     27    // 0x1b Invalid ses handle 
 ERRCODE_INVALIDRESTROP       28    // 0x1c Invalid restructure operation 
 ERRCODE_UNKNOWNDRIVER        29    // 0x1d Driver not known to system 
 ERRCODE_UNKNOWNDB            30    // 0x1e Unknown db 
 ERRCODE_INVALIDPASSWORD      31    // 0x1f Invalid password given 
 ERRCODE_NOCALLBACK           32    // 0x20 No callback function 
 ERRCODE_INVALIDCALLBACKBUFLEN 33   // 0x21 Invalid callback buffer length 
 ERRCODE_INVALIDDIR            34   // 0x22 Invalid directory 
 ERRCODE_INVALIDXLATION        35   // 0x23 Translate Error - Translate DID NOT happen 
 ERRCODE_DIFFERENTTABLES       36   // 0x24 Cannot Set Cursor of one Table to another 
 ERRCODE_INVALIDBOOKMARK       37   // 0x25 Bookmarks does not match table, etc. 
 ERRCODE_INVALIDINDEXNAME      38   // 0x26 Index/Tag Name is invalid 
 ERRCODE_INVALIDIDXDESC        39   // 0x27 Invalid index descriptor 
 ERRCODE_NOSUCHTABLE           40   // 0x28 No such table 
 ERRCODE_USECOUNT              41   // 0x29 Table has too many users 
 ERRCODE_INVALIDKEY            42   // 0x2a Key does not pass filter condition 
 ERRCODE_INDEXEXISTS           43   // 0x2b Index already exists 
 ERRCODE_INDEXOPEN             44   // 0x2c Index is open 
 ERRCODE_INVALIDBLOBLEN        45   // 0x2d Invalid Blob Length 
 ERRCODE_INVALIDBLOBHANDLE     46   // 0x2e Invalid Blob handle (in record buffer) 
 ERRCODE_TABLEOPEN             47   // 0x2f Table is open 
 ERRCODE_NEEDRESTRUCTURE       48   // 0x30 Need to do (hard) restructure 
 ERRCODE_INVALIDMODE           49   // 0x31 Invalid mode 
 ERRCODE_CANNOTCLOSE            50  // 0x32 Cannot close index 
 ERRCODE_ACTIVEINDEX            51  // 0x33 Index is being used to order tbl 
 ERRCODE_INVALIDUSRPASS         52  // 0x34 Bad user name or password 
 ERRCODE_MULTILEVELCASCADE      53  // 0x35 Multi level Cascade not supported 
 ERRCODE_INVALIDFIELDNAME       54  // 0x36 Invalid field name 
 ERRCODE_INVALIDTABLENAME       55  // 0x37 Invalid table name 
 ERRCODE_INVALIDLINKEXPR        56  // 0x38 Invalid linked cursor expression 
 ERRCODE_NAMERESERVED           57  // 0x39 Name is reserved 
 ERRCODE_INVALIDFILEEXTN        58  // 0x3a Invalid file extention 
 ERRCODE_INVALIDLANGDRV         59  // 0x3b Invalid language driver 
 ERRCODE_ALIASNOTOPEN           60  // 0x3c Requested alias in not open 
 ERRCODE_INCOMPATRECSTRUCTS     61  // 0x3d Incompatible record structures 
 ERRCODE_RESERVEDDOSNAME        62  // 0x3e Reserved dos name 
 ERRCODE_DESTMUSTBEINDEXED      63  // 0x3f Destination must be indexed 
 ERRCODE_INVALIDINDEXTYPE       64  // 0x40 Invalid index type 
 ERRCODE_LANGDRVMISMATCH        65  // 0x41 Language driver of table and index do not match 
 ERRCODE_NOSUCHFILTER           66  // 0x42 Filter handle is invalid 
 ERRCODE_INVALIDFILTER          67  // 0x43 Invalid filter 
 ERRCODE_INVALIDTABLECREATE     68  // 0x44 Bad table create request (exact prob unknown) 
 ERRCODE_INVALIDTABLEDELETE     69  // 0x45 Bad table delete request (exact prob unknown) 
 ERRCODE_INVALIDINDEXCREATE     70  // 0x46 Bad index create request (exact prob unknown) 
 ERRCODE_INVALIDINDEXDELETE     71  // 0x47 Bad index delete request (exact prob unknown) 
 ERRCODE_INVALIDTABLE           72  // 0x48 Invalid table name specified 
 ERRCODE_MULTIRESULTS           73  // 0X49 Multi results 
 ERRCODE_INVALIDTIME            74  // 0X4A Multi results 
 ERRCODE_INVALIDDATE            75  // 0X4B Multi results 
 ERRCODE_INVALIDTIMESTAMP       76  // 0X4C Multi results 
 ERRCODE_DIFFERENTPATH          77  // 0X4d Tables in different paths 
 ERRCODE_MISMATCHARGS           78  // 0x4e MisMatch in the # of arguments 
 ERRCODE_FUNCTIONNOTFOUND       79  // 0x4f Loaderlib cant find a func in the DLL (bad version?) 
 ERRCODE_MUSTUSEBASEORDER       80  // 0x50 Must use baseorder for this operation 
 ERRCODE_INVALIDPROCEDURENAME   81  // 0x51 Invalid procedure name 
 ERRCODE_INVALIDFLDMAP          82  // 0x52 invalid field map 
// =================== 
 // ERRCAT_LOCKCONFLICT  
// =================== 
ERRCODE_LOCKED           1 
ERRCODE_UNLOCKFAILED     2 
ERRCODE_FILEBUSY         3 
ERRCODE_DIRBUSY          4 
ERRCODE_FILELOCKED       5 
ERRCODE_DIRLOCKED        6 
ERRCODE_ALREADYLOCKED    7 
ERRCODE_NOTLOCKED        8 
ERRCODE_LOCKTIMEOUT      9 
ERRCODE_GROUPLOCKED      10    // 0x0a 
ERRCODE_LOSTTBLLOCK      11    // 0x0b 
ERRCODE_LOSTEXCLACCESS   12    // 0x0c 
ERRCODE_NEEDEXCLACCESS   13    // 0x0d 
ERRCODE_RECGROUPCONFLICT 14    // 0x0e 
ERRCODE_DEADLOCK         15 
ERRCODE_ACTIVETRAN       16 
ERRCODE_NOACTIVETRAN     17 
ERRCODE_RECLOCKFAILED    18 
ERRCODE_OPTRECLOCKFAILED 19 
ERRCODE_OPTRECLOCKRECDEL 20 
ERRCODE_LOCKEDRECS       21 
ERRCODE_NEEDWRITELOCK    22 
// =============== 
 // ERRCAT_SECURITY  
// =============== 
ERRCODE_NOTSUFFFIELDRIGHTS   1    // Not sufficient field  rights for operation 
ERRCODE_NOTSUFFTABLERIGHTS   2    // Not sufficient table  rights for operation 
ERRCODE_NOTSUFFFAMILYRIGHTS  3    // Not sufficient family rights for operation 
ERRCODE_READONLYDIR          4    // Is a read-only directory 
ERRCODE_READONLYDB           5    // Database is read-only 
ERRCODE_READONLYFLD          6    // Trying to modify read-only field 
ERRCODE_TBLENCRYPTED         7    // Table is encrypted (dBASE only) 
ERRCODE_NOTSUFFSQLRIGHTS     8    // Not sufficient sql rights for operation 
// ===================== 
 // ERRCAT_INVALIDCONTEXT  
// ===================== 
ERRCODE_NOTABLOB         1    // Field is not a blob 
ERRCODE_BLOBOPENED       2    // Blob already opened 
ERRCODE_BLOBNOTOPENED    3    // Blob not opened 
ERRCODE_NA               4    // Operation not applicable 
ERRCODE_NOTINDEXED       5    // Table is not indexed 
ERRCODE_NOTINITIALIZED   6    // Engine not initialized 
ERRCODE_MULTIPLEINIT     7    // Attempt to re-initialize engine 
ERRCODE_NOTSAMESESSION   8    // Attempt to mix objs from diff ses 
ERRCODE_PDXDRIVERNOTACTIVE 9  // Paradox driver not active 
ERRCODE_DRIVERNOTLOADED  10   // 0x0a Driver not loaded 
ERRCODE_TABLEREADONLY    11   // 0x0b Table is read only 
ERRCODE_NOASSOCINDEX     12   // 0x0c No index associated with the cursor 
ERRCODE_HASOPENCURSORS   13   // 0x0d Has open cursors 
ERRCODE_NOTABLESUPPORT   14   // 0x0e Op cannot be done on this table 
ERRCODE_INDEXREADONLY    15   // 0x0f Index is read only 
ERRCODE_NOUNIQUERECS     16   // 0x10 Records are not unique 
ERRCODE_NOTCURSESSION    17   // 0x11 Not the current/active session 
ERRCODE_INVALIDKEYWORD   18   // 0x12 Invalid use of keyword. 
ERRCODE_CONNECTINUSE     19   // 0x13 Connection in use 
ERRCODE_CONNECTNOTSHARED 20   // 0x14 Passthru SQL connection not share 
// ========= 
 // ERRCAT_OS  
// ========= 
// DOS extended errors: 
ERRCODE_OSEINVFNC     1    // Invalid function number 
ERRCODE_OSENOENT      2    // No such file or directory 
ERRCODE_OSENOPATH     3    // Path not found 
ERRCODE_OSEMFILE      4    // Too many open files 
ERRCODE_OSEACCES      5    // Permission denied 
ERRCODE_OSEBADF       6    // Bad file number 
ERRCODE_OSECONTR      7    // Memory blocks destroyed 
ERRCODE_OSENOMEM      8    // Not enough core 
ERRCODE_OSEINVMEM     9    // Invalid memory block address 
ERRCODE_OSEINVENV     10   // 0x0a Invalid environment 
ERRCODE_OSEINVFMT     11   // 0x0b Invalid format 
ERRCODE_OSEINVACC     12   // 0x0c Invalid access code 
ERRCODE_OSEINVDAT     13   // 0x0d Invalid data 
ERRCODE_OSENODEV      15   // 0x0f No such device 
ERRCODE_OSECURDIR     16   // 0x10 Attempt to remove curdir 
ERRCODE_OSENOTSAM     17   // 0x11 Not same device 
ERRCODE_OSENMFILE     18   // 0x12 No more files 
ERRCODE_OSEINVAL      19   // 0x13 Invalid argument 
ERRCODE_OSE2BIG       20   // 0x14 Arg list too long 
ERRCODE_OSENOEXEC     21   // 0x15 Exec format error 
ERRCODE_OSEXDEV       22   // 0x16 Cross-device link 
ERRCODE_OSEDOM        33   // 0x21 Math argument 
ERRCODE_OSERANGE      34   // 0x22 Result to large 
ERRCODE_OSEEXIST      35   // 0x23 File already exists 
ERRCODE_OSUNKNOWN     39   // 0x27 Unkown | illegal error from rtl 
ERRCODE_OSSHAREVIOL   50   // 0x32 Share viol, ext. err 0x20 
ERRCODE_OSLOCKVIOL    51   // 0x33 Lock viol, ext. err 0x21 
ERRCODE_OSINT24FAIL   52   // 0x34 INT24 called 
ERRCODE_OSDRIVENOTREADY   53   // 0x35 Drive not ready 
// OTHER Os errors: 
// 1. idapi errors 
// 2. errors from non-dos systems ( i.e. NOVELL ) 
ERRCODE_NOTEXACT          100   // 0x64 Not exact read/write 
ERRCODE_OSNETERR          101   // 0x65 Generic network error 
ERRCODE_OSUNKNOWNSRVERR   102   // 0x66 Error from file server 
ERRCODE_SERVERNOMEMORY    103   // 0x67 Server out of memory 
ERRCODE_OSALREADYLOCKED   104   // 0x68 Record already locked (by you) 
ERRCODE_OSNOTLOCKED       105   // 0x69 Record not locked 
ERRCODE_NOSERVERSW        106   // 0x6a Server software not running the workstation/server 
// ============== 
 // ERRCAT_NETWORK  
// ============== 
ERRCODE_NETINITERR       1    // Net init failed 
ERRCODE_NETUSERLIMIT     2    // Net user limit exceeded 
ERRCODE_NETFILEVERSION   3    // Wrong net file version 
ERRCODE_NETFILELOCKED    4    // Not able to lock net file 
ERRCODE_DIRNOTPRIVATE    5    // 
ERRCODE_NETMULTIPLE      6    // Multiple net files in use 
ERRCODE_NETUNKNOWN       7    // Unknown net error 
ERRCODE_SHAREDFILE       8    // Cannot access a shared file 
ERRCODE_SHARENOTLOADED   9    // Share not loaded 
ERRCODE_NOTONANETWORK    10   // 0x0a Not an Network 
ERRCODE_SQLCOMMLOST      11   // 0x0b Lost Communication with SQL server 
ERRCODE_SERVERCOMMLOST   12   // 0x0c Lost Communication with IDAPI server 
ERRCODE_SQLSERVERNOTFOUND 13  // 0x0d SQL Server not found 
ERRCODE_SERVERNOTFOUND   14   // 0x0e SQL Server not found 
// ============= 
 // ERRCAT_DRIVER  
// ============= 
ERRCODE_WRONGDRVNAME    1       // Wrong driver name 
ERRCODE_WRONGSYSVER     2       // Wrong system version 
ERRCODE_WRONGDRVVER     3       // Wrong driver version 
ERRCODE_WRONGDRVTYPE    4       // Wrong driver type 
ERRCODE_CANNOTLOADDRV   5       // Can not load driver 
ERRCODE_CANNOTLOADLDDRV   6     // Can not load language driver 
ERRCODE_VENDINITFAIL    7       // Vendor init failure 
ERRCODE_DRIVERRESTRICTED  8     // Client not enabled for this driver 
// ============ 
 // ERRCAT_QUERY  
// ============ 
DBICODE_AMBJOASY       1 // obsolete 
DBICODE_AMBJOSYM       2 // obsolete 
DBICODE_AMBOUTEX       3 
DBICODE_AMBOUTPR       4 // obsolete 
DBICODE_AMBSYMAS       5 // obsolete 
DBICODE_ASETOPER       6 
DBICODE_AVENUMDA       7 
DBICODE_BADEXPR1       8 
DBICODE_BADFLDOR       9 
DBICODE_BADVNAME      10         // 0x0a 
DBICODE_BITMAPER      11         // 0x0b 
DBICODE_CALCBADR      12         // 0x0c 
DBICODE_CALCTYPE      13         // 0x0d 
DBICODE_CHGTO1TI      14         // 0x0e 
DBICODE_CHGTOCHG      15         // 0x0f 
DBICODE_CHGTOEXP      16         // 0x10 
DBICODE_CHGTOINS      17         // 0x11 
DBICODE_CHGTONEW      18         // 0x12 
DBICODE_CHGTOVAL      19         // 0x13 
DBICODE_CHKMRKFI      20         // 0x14 
DBICODE_CHNAMBIG      21         // 0x15 
DBICODE_CHUNKERR      22         // 0x16 
DBICODE_COLUM255      23         // 0x17 
DBICODE_CONAFTAS      24         // 0x18 
DBICODE_DEL1TIME      25         // 0x19 
DBICODE_DELAMBIG      26         // 0x1a 
DBICODE_DELFRDEL      27         // 0x1b 
DBICODE_EGFLDTYP      28         // 0x1c 
DBICODE_EXAMINOR      29         // 0x1d 
DBICODE_EXPRTYPS      30         // 0x1e 
DBICODE_EXTRACOM      31         // 0x1f 
DBICODE_EXTRAORO      32         // 0x20 
DBICODE_EXTRAQRO      33         // 0x21 
DBICODE_FIND1ATT      34         // 0x22 
DBICODE_FINDANST      35         // 0x23 
DBICODE_GRPNOSET      36         // 0x24 
DBICODE_GRPSTROW      37         // 0x25 
DBICODE_IDFINLCO      38         // 0x26 
DBICODE_IDFPERLI      39         // 0x27 
DBICODE_INANEXPR      40         // 0x28 
DBICODE_INS1TIME      41         // 0x29 
DBICODE_INSAMBIG      42         // 0x2a 
DBICODE_INSDELCH      43         // 0x2b 
DBICODE_INSEXPRR      44         // 0x2c 
DBICODE_INSTOINS      45         // 0x2d 
DBICODE_ISARRAY       46         // 0x2e 
DBICODE_LABELERR      47         // 0x2f 
DBICODE_LINKCALC      48         // 0x30 
DBICODE_LNGVNAME      49         // 0x31 
DBICODE_LONGQURY      50         // 0x32 
DBICODE_MEMVPROC      51         // 0x33 
DBICODE_MISNGCOM      52         // 0x34 
DBICODE_MISNGRPA      53         // 0x35 
DBICODE_MISSRTQU      54         // 0x36 
DBICODE_NAMTWICE      55         // 0x37 
DBICODE_NOCHKMAR      56         // 0x38 
DBICODE_NODEFOCC      57         // 0x39 
DBICODE_NOGROUPS      58         // 0x3a 
DBICODE_NONSENSE      59         // 0x3b 
DBICODE_NOPATTER      60         // 0x3c 
DBICODE_NOSUCHDA      61         // 0x3d 
DBICODE_NOVALUE       62         // 0x3e 
DBICODE_ONLYCONS      63         // 0x3f 
DBICODE_ONLYSETR      64         // 0x40 
DBICODE_OUTSENS1      65         // 0x41 
DBICODE_OUTTWIC1      66         // 0x42 
DBICODE_PAROWCNT      67         // 0x43 
DBICODE_PERSEPAR      68         // 0x44 
DBICODE_PROCPLSW      69         // 0x45 
DBICODE_PWINSRTS      70         // 0x46 
DBICODE_PWMODRTS      71         // 0x47 
DBICODE_QBEFLDFOUND   72         // 0x48 
DBICODE_QBENOFENCE    73         // 0x49 
DBICODE_QBENOFENCET   74         // 0x4a 
DBICODE_QBENOHEADERT  75         // 0x4b 
DBICODE_QBENOTAB      76         // 0x4c 
DBICODE_QBENUMCOLS    77         // 0x4d 
DBICODE_QBEOPENTAB    78         // 0x4e 
DBICODE_QBETWICE      79         // 0x4f 
DBICODE_QRYNOANSWER   80         // 0x50 
DBICODE_QRYNOTPREP    81         // 0x51 
DBICODE_QUAINDEL      82         // 0x52 
DBICODE_QUAININS      83         // 0x53 
DBICODE_RAGININS      84         // 0x54 
DBICODE_RAGINSET      85         // 0x55 
DBICODE_ROWUSERR      86         // 0x56 
DBICODE_SETEXPEC      87         // 0x57 
DBICODE_SETVAMB1      88         // 0x58 
DBICODE_SETVBAD1      89         // 0x59 
DBICODE_SETVDEF1      90         // 0x5a 
DBICODE_SUMNUMBE      91         // 0x5b 
DBICODE_TBLISWP3      92         // 0x5c 
DBICODE_TOKENNOT      93         // 0x5d 
DBICODE_TWOOUTR1      94         // 0x5e 
DBICODE_TYPEMISM      95         // 0x5f 
DBICODE_UNRELQ1       96         // 0x60 
DBICODE_UNUSEDST      97         // 0x61 
DBICODE_USEINSDE      98         // 0x62 
DBICODE_USEOFCHG      99         // 0x63 
DBICODE_VARMUSTF     100         // 0x64 
DBICODE_REGISTER     101         // 0x65 
DBICODE_LONGEXPR     102         // 0x66 
DBICODE_REFRESH      103         // 0x67 
DBICODE_CANCEXCEPT   104         // 0x68 
DBICODE_DBEXCEPT     105         // 0x69 
DBICODE_MEMEXCEPT    106         // 0x6a 
DBICODE_FATALEXCEPT  107         // 0x6b 
DBICODE_QRYNIY       108         // 0x6c 
DBICODE_BADFORMAT    109         // 0x6d 
DBICODE_QRYEMPTY     110         // 0x6e 
DBICODE_NOQRYTOPREP  111         // 0x6f 
DBICODE_BUFFTOOSMALL 112         // 0x70 
DBICODE_QRYNOTPARSE  113         // 0x71 
DBICODE_NOTHANDLE    114         // 0x72 
DBICODE_QRYSYNTERR   115         // 0x73 
DBICODE_QXFLDCOUNT   116         // 0x74 
DBICODE_QXFLDSYMNOTFOUND 117     // 0x75 
DBICODE_QXTBLSYMNOTFOUND 118     // 0x76 
DBICODE_BLOBTERM     119         // 0x77 
DBICODE_BLOBERR      120         // 0x78 
DBICODE_RESTARTQRY   121         // 0x79 
DBICODE_UNKNOWNANSTYPE 122       // 0x7a 
// Internal QBE use Only. 
   DBICODE_SQLG_MDIST 123      // 0x7b 
   DBICODE_SQLG_NOARI 124      // 0x7c 
   DBICODE_SQLG_LIKEN 125      // 0x7d 
   DBICODE_SQLG_ALPHO 126      // 0x7e 
   DBICODE_SQLG_DATEO 127      // 0x7f 
   DBICODE_SQLG_RELOP 128      // 0x80 
   DBICODE_SQLG_ONLYC 129      // 0x81 
   DBICODE_SQLG_CNTLN 130      // 0x82 
   DBICODE_SQLG_CHINI 131      // 0x83 
   DBICODE_SQLG_UNION 132      // 0x84 
   DBICODE_SQLG_SLFIN 133      // 0x85 
   DBICODE_SQLG_OTJVR 134      // 0x86 
   DBICODE_SQLG_STROW 135      // 0x87 
   DBICODE_SQLG_QUANT 136      // 0x88 
   DBICODE_SQLG_REGSO 137      // 0x89 
   DBICODE_SQLG_COUNT 138      // 0x8a 
   DBICODE_SQLG_AVERA 139      // 0x8b 
   DBICODE_SQLG_DATEA 140      // 0x8c 
   DBICODE_SQLG_BADPT 141      // 0x8d 
   DBICODE_SQLG_RELPA 142      // 0x8e 
   DBICODE_SQLG_PATRN 143      // 0x8f 
   DBICODE_SQLG_FNDSU 144      // 0x90 
   DBICODE_SQLG_IFDCS 145      // 0x91 
   DBICODE_SQLG_IDCCO 146      // 0x92 
   DBICODE_SQLG_ONLYI 147      // 0x93 
   DBICODE_SQLG_SQLDIALECT 148 // 0x94 
   DBICODE_SQLG_NOQUERY 149    // 0x95 
// End of Internal. 
DBICODE_BLOBGROUP 150          // 0x96 
DBICODE_QRYNOPROP  151         // 0x97 
DBICODE_ANSTYPNOTSUP  152      // 0x98 
DBICODE_ANSALIASNOTSUP  153    // 0x99 
DBICODE_INSBLOBREQ      154    // 0x9a 
DBICODE_CHGUNIQUENDXREQ 155    // 0x9b 
DBICODE_DELUNIQUENDXREQ 156    // 0x9c 
DBICODE_SQLNOFULLUPDATE 157    // 0x9d 
DBICODE_CANTEXECREMOTE  158    // 0x9e 
DBICODE_UNEXPECTEDEOC   159    // 0x9f 
DBICODE_SQLPARAMNOTSET  160    // 0xA0 
DBICODE_QUERYTOOLONG    161    // 0xA1 
// Errors added for localsql 
 DBICODE_NOSUCHRELORALIAS    170 
 DBICODE_TYPEAMBIGUITY       171 
 DBICODE_ORDERBYNOTAPROJ     172 
 DBICODE_SQLPARSE            173 
 DBICODE_CONSTRAINTFAILED    174 
 DBICODE_NOTGROUPINGFIELD    175 
 DBICODE_UDFNOTDEFINED       176 
 DBICODE_UDFERROR            177 
 DBICODE_SINGLEROWERROR      178 
 DBICODE_GROUPEXPR           179 
 DBICODE_QUERYTEXT           180 
 DBICODE_ANSIJOINSUP         181 
 DBICODE_DISTUNION           182 
 DBICODE_GROUPBYREQ          183 
 DBICODE_INSUPDAUTOIC        184 
 DBICODE_UPDREFINTSINGLE     185 
// END_OF_QUERY_MESSAGES 
// =============== 
 // ERRCAT_VERSION  
// =============== 
 ERRCODE_INTERFACEVER    1    // Interface mismatch 
 ERRCODE_INDEXOUTOFDATE  2    // Index is out of date 
 ERRCODE_OLDVERSION      3    // Older version (see context) 
 ERRCODE_VALFILEINVALID  4    // Val. file is out of date 
 ERRCODE_BLOBVERSION     5    // Old Blob file version 
 ERRCODE_ENGQRYMISMATCH  6    // Query and IDAPI are mismatched 
 ERRCODE_SERVERVERSION   7    // Server is incompatible version 
 ERRCODE_TABLELEVEL      8    // Higher table level required 
// ================= 
 // ERRCAT_CAPABILITY  
// ================= 
 ERRCODE_NOTSUPPORTED    1    // Capability not supported 
 ERRCODE_NIY             2    // Not Implemented Yet 
 ERRCODE_TABLESQL        3    // Cannot access SQL replica 
 ERRCODE_SEARCHCOLREQD   4    // Searchable (Non-blob column) required 
 ERRCODE_NOMULTCONNECT   5    // Multiple connections not supported 
 ERRCODE_NODBASEEXPR     6    // Full dBASE Expressions not supported 
// ============= 
 // ERRCAT_CONFIG  
// ============= 
ERRCODE_INVALIDDBSPEC    1 
ERRCODE_UNKNOWNDBTYPE    2 
ERRCODE_INVALIDSYSDATA   3 
ERRCODE_UNKNOWNNETTYPE   4 
ERRCODE_NOTONTHATNET     5 
ERRCODE_INVALIDCFGPARAM  6    // Generic invalid config param 
// ============== 
 // ERRCAT_WARNING  non-fatal warnings:  
// warn user of action, or ask for optional behavior 
// ============== 
ERRCODE_OBJIMPLICITLYDROPPED      1 
ERRCODE_OBJMAYBETRUNCATED         2 
ERRCODE_OBJIMPLICITLYMODIFIED     3 
ERRCODE_VALIDATEDATA              4 
ERRCODE_VALFIELDMODIFIED          5 
ERRCODE_TABLELEVELCHANGED         6 
ERRCODE_COPYLINKEDTABLES          7 
ERRCODE_OTHERSERVERLOADED         8 
ERRCODE_OBJIMPLICITLYTRUNCATED    9 
ERRCODE_VCHKMAYNOTBEENFORCED      10 
ERRCODE_MULTIPLEUNIQRECS          11 
ERRCODE_FIELDMUSTBETRIMMED        12 
// ============ 
 // ERRCAT_OTHER  
// ============ 
 ERRCODE_FILEEXISTS      1    // File already exsits 
 ERRCODE_BLOBMODIFIED    2    // Another user modified Blob 
 ERRCODE_UNKNOWNSQL      3    // Unknown SQL error 
 ERRCODE_TABLEEXISTS     4    // Table already exsits 
 ERRCODE_PDX10TABLE      5    // Paradox 1.0 tables not supported 
 ERRCODE_UPDATEABORT     6    // Cached Update aborted 
// 
// ===================== 
 // ERRCAT_COMPATIBILITY  
// ===================== 
 ERRCODE_DIFFSORTORDER    1    // Sortorders not compatible 
 ERRCODE_DIRINUSEBYOLDVER 2    // Directory in use by old version 
 ERRCODE_PDX35LDDRIVER    3    // Needs Pdox 3.5 compatible language driver 
// =============== 
 // ERRCAT_OPTPARAM  
// =============== 
ERRCODE_REQOPTPARAM     1       // Required optional parameter missing 
ERRCODE_INVALIDOPTPARAM 2       // Optional param out-of-range or bad 
//  ================= 
 //  ERRCAT_REPOSITORY  
//  ================= 
 ERRCODE_REPOSITORYCORRUPT      1    // Data Repository is corrupt 
 ERRCODE_INFOBLOBCORRUPT        2    // Info Blob corrupted 
 ERRCODE_SCHEMACORRUPT          3    // DR Schema is corrupt 
 ERRCODE_ATTRTYPEEXISTS         4    // Attribute Type exists 
 ERRCODE_INVALIDOBJTYPE         5    // Invalid Object Type 
 ERRCODE_INVALIDRELATIONTYPE    6    // Invalid Relation Type 
 ERRCODE_VIEWEXISTS             7    // View already exists 
 ERRCODE_NOSUCHVIEW             8    // No such View exists 
 ERRCODE_INVALIDRECCONSTRAINT   9    // Invalid Record Constraint 
 ERRCODE_LDBCONNECTION          10   // Object is in a Logical DB 
 ERRCODE_REPOSITORYEXISTS       11   // Repository already exists 
 ERRCODE_NOSUCHREPOSITORY       12   // Repository does not exist 
 ERRCODE_REPOSITORYDBMISSING    13   // Repository database does not exist 
 ERRCODE_REPOSITORYOUTOFDATE    14   // Repository info is out of date 
 ERRCODE_REPOSITORYVERSION      15   // DR Version mismatch 
 ERRCODE_REPOSITORYNAME         16   // Invalid Repository name 
 ERRCODE_DEPENDENTOBJECTS       17   // Dependent Objects exist 
 ERRCODE_RELATIONLIMIT          18   // Too many Relationships for this Object Type 
 ERRCODE_RELATIONSHIPSEXIST     19   // Relationships to the Object exist 
 ERRCODE_EXCHANGEFILECORRUPT    20   // Exchange File Corrupt 
 ERRCODE_EXCHANGEFILEVERSION    21   // Exchange File Version Mismatch 
 ERRCODE_TYPEMISMATCH           22   // Exchange File and Repository Types don't match 
 ERRCODE_OBJECTEXISTS           23   // Object Exists in the Target Repository 
 ERRCODE_REPOSITORYACCESS       24   // Access to Repository Denied 
 ERRCODE_REPOSITORYCREATE       25   // Cannot Create Repository 
 ERRCODE_DATABASEOPENFAILED     26   // Cannot Open a Database 
──────────────────────────────────
         3-1
     |目次前ページ次ページ