Informix Error -22249: Internal error: Invalid integer size (toaint).
Cause and resolution
Internal error: Invalid integer size (toaint).
If this internal error recurs, note all circumstances and contact IBM Informix Technical Support.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22249 is an internal error — per the official guidance, an invalid integer size was
encountered in the toaint internal routine.
- An invalid integer size in the
toaintconversion routine, per the official guidance — no further user-actionable detail is given.
Solutions / Resolution
- If this internal error recurs, note all circumstances and contact IBM Informix Technical Support, per the official guidance.
Examples
N/A
No specific triggering statement is documented — this is reported as an internal error.
Diagnostic Checks
- Record the full sequence of events, and escalate to IBM Informix Technical Support if the error recurs.
Related Errors / Related Topics
- -22260 — "Internal Error: Invalid integer size." The general internal
invalid-integer-size error this is a specific case of, for the
toaintroutine.
An invalid integer size was encountered in an internal conversion routine — contact IBM Informix Technical Support if it recurs.