Data Transformation Engine Return Codes and Errors Reference Guide
Chapter 4 – Adapters Database
The following is a listing of all the codes and messages that can be returned as a
result of using the database adapters for sources or targets.
Note Adapter return codes with positive numbers are warning codes that indicate a
successful operation. Adapter return codes with negative numbers are error codes
that indicate a failed operation.
Return Code Message
0 Success
12 Database -b argument is required with arguments
mdqfile -m and query -q
1001 One or more records could not be processed
1002 No data found
-1001 Memory allocation error
-1002 Failed to allocate ODBC environment
-1003 Failed to allocate ODBC statement
-1004 Failed to allocate ODBC connection
-1005 Failed to connect to the database
-1006 Failed to prepare the SQL statement
-1007 Failed to obtain definition of column
-1008 Failed to bind parameters to the SQL statement
-1009 Failed to execute the SQL statement
-1010 Failed to open a cursor
-1011 Failed to insert a row into the database
-1012 Failed to read file
-1013 Failed to open file
-1014 The input buffer was of incorrect form
-1015 Failed to write to file
-1016 Database type is unknown
-1017 Failed to parse SQL statement
-1018 Failed to define host variables
-1019 Failed to logoff the database