Informix Error -26305: API error: Cannot initialize NULL SQLDA.
Cause and resolution
API error: Cannot initialize NULL SQLDA.
This message indicates an internal error. Exit DataExtract and retry the option.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26305 fires as an internal DataExtract error — per the official guidance, with no further named detail.
- An internal error, attempting to initialize a null SQLDA structure, per the official guidance — the direct, only cause; the source gives no further detail.
Solutions / Resolution
- Exit DataExtract and retry the option, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an internal error.
Diagnostic Checks
- Exit and restart DataExtract, and retry the failing option; escalate if it recurs.
Related Errors / Related Topics
- -26306 — "API error: Cannot initialize NULL SQLCA." The same class of null-structure initialization error, for SQLCA rather than SQLDA.
- -26307 — "API error: Cannot initialize NULL SQLEA." The same class of null-structure initialization error, for SQLEA rather than SQLDA.
- -26308 — "API error: Cannot initialize NULL SQLST." The same class of null-structure initialization error, for SQLST rather than SQLDA.
- -26309 — "API error: Cannot initialize NULL SQLCR." The same class of null-structure initialization error, for SQLCR rather than SQLDA.
An internal DataExtract error occurred — a null SQLDA structure couldn't be initialized; exit and retry.