Informix Error -4663: ODBC error from engine - "text".
Cause and resolution
ODBC error from engine - "text".
The -useccl compiler switch has been used. An ODBC error, shown here as "text", has been detected.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4663 fires when compiling with the -useccl compiler switch, and the underlying ODBC engine
reports an error — per the official guidance, the specific ODBC error text is embedded in the
message.
- An ODBC-level error while compiling with
-useccl, per the official guidance — the general cause; the specific reason is in the embedded ODBC error text.
Solutions / Resolution
- Read the embedded ODBC error text for the specific underlying problem, and address it at the ODBC/database-connectivity level.
Examples
N/A
No specific triggering statement is documented beyond the embedded ODBC error text itself.
Diagnostic Checks
- Read the embedded ODBC error text and treat it as an ODBC/connectivity diagnostic (data source configuration, driver, credentials, etc.), since the underlying failure is reported by the ODBC engine, not 4GL itself.
Related Errors / Related Topics
- -4664 — "CCL class declarations are required with the "-useccl" switch..." A related
-useccl-specific compiler requirement.
An ODBC-level error occurred while compiling with -useccl — read the embedded ODBC error
text for the specific cause.