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