Informix Error -22259: Error in C var (long) to val conversion.
Cause and resolution
Error in C var (long) to val conversion.
If this internal error recurs, note all circumstances and contact IBM Informix Technical Support.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22259 is an internal error — per the official guidance, a conversion failure occurred
converting a C long variable to a value.
- A conversion failure from a C
longvariable, 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
- -22253 — "Error in C var to val conversion (frombcd)." The same class of internal
conversion error, in the
frombcdroutine. - -22256 — "Error in C var to val conversion (fromadate)." The same class of internal
conversion error, in the
fromadateroutine. - -22257 — "Error in C var (short) to val conversion." The same class of internal
conversion error, for the
shortC type rather thanlong. - -22258 — "Error in C var (int) to val conversion." The same class of internal
conversion error, for the
intC type rather thanlong.
An internal conversion failure occurred converting a C long variable to a value —
contact IBM Informix Technical Support if it recurs.