Informix Error -33012: Number of digits must be 1 to 32.
Cause and resolution
Number of digits must be 1 to 32.
You specified a precision or scale for a DECIMAL value that is out of range. A DECIMAL variable must have from 1 to 32 digits. Check the punctuation of the declarations in this statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-33012 fires when a DECIMAL host variable's declared precision or scale is out of
range — per the official guidance, a DECIMAL value must have from 1 to 32 digits.
- A
DECIMALdeclaration's precision/scale outside the 1-32 digit range, per the official guidance — the direct, only cause.
Solutions / Resolution
- Correct the declaration's punctuation/digit count, per the official guidance, to fall within 1 to 32 digits.
Examples
N/A
No specific triggering statement is documented beyond an out-of-range digit count.
Diagnostic Checks
- Check the flagged
DECIMALdeclaration's precision/scale, and correct it to fall between 1 and 32 digits.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -33012 in this set yet.
A DECIMAL variable's precision/scale fell outside 1 to 32 digits — correct the
declaration.