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