Informix Error -22276: Floating point variables are not allowed.
Cause and resolution
Floating point variables are not allowed.
This compiler does not support floating-point numbers.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22276 fires when a floating-point variable is declared under a COBOL compiler that doesn't support them — per the official guidance.
- A floating-point variable declared under a compiler without floating-point support, per the official guidance — the direct, only cause.
Solutions / Resolution
- Use a non-floating-point numeric type instead, per the official guidance's implication, or switch to a compiler that supports floating-point.
Examples
N/A
No specific triggering statement is documented beyond declaring a floating-point variable under an unsupported compiler.
Diagnostic Checks
- Check whether the in-use compiler supports floating-point types, and use a different numeric type or compiler if it doesn't.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -22276 in this set yet.
A floating-point variable was declared under a compiler that doesn't support them — use a different numeric type or compiler.