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