Informix Error -22268: P in the PICTURE clause not implemented.
Cause and resolution
P in the PICTURE clause not implemented.
Currently, IBM Informix ESQL/COBOL does not support the declaration P (decimal scaling position) in a PICTURE clause.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22268 fires when a PICTURE clause uses the P (decimal scaling position)
symbol — per the official guidance, IBM Informix ESQL/COBOL doesn't currently support it.
- A
PICTUREclause using thePdecimal-scaling-position symbol, per the official guidance — the direct, only cause.
Solutions / Resolution
- Rewrite the
PICTUREclause withoutP, per the official guidance's implication — the symbol isn't currently supported.
Examples
A PICTURE clause using P
01 AMT PIC 9(3)PPP.
Diagnostic Checks
- Check the flagged variable's
PICTUREclause for thePsymbol, and rewrite it without decimal scaling.
Related Errors / Related Topics
- -22203 — "Invalid keyword name on the PICTURE clause." The general
PICTURE-clause keyword error this is a specific, unimplemented-feature case of.
A PICTURE clause used the unimplemented P (decimal scaling position) symbol — rewrite
without it.