Informix Error -22250: BCD buffer length is too small.
Cause and resolution
BCD buffer length is too small.
If this internal error recurs, note all circumstances and contact IBM Informix Technical Support.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22250 is an internal error — per the official guidance, a BCD (binary-coded decimal) buffer's length was too small.
- A BCD buffer with an insufficient length, 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
- -22245 — "Invalid BCD type (rvalhlvar)." A related internal BCD-conversion error, on an invalid type rather than buffer length.
- -22246 — "INTERNAL ERROR: BCD buffer too small (rhlvarval)." The same class of
BCD-buffer-size error, specific to the
rhlvarvalroutine. - -22247 — "Invalid BCD type (rhlvarval)." A related internal BCD-conversion error, on an invalid type rather than buffer length.
A BCD buffer's length was too small — contact IBM Informix Technical Support if it recurs.