Informix Error -22203: Invalid keyword name on the PICTURE clause.
Cause and resolution
Invalid keyword name on the PICTURE clause.
The PICTURE clause contains an illegal keyword, as the error message specifies. Check the syntax of the variable declaration for the PICTURE clause and try again.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22203 fires when a PICTURE clause contains an illegal keyword — per the official
guidance, as the error message names it.
- An illegal keyword in the
PICTUREclause, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the variable declaration's
PICTUREclause syntax, per the official guidance, and correct the illegal keyword.
Examples
N/A
No specific triggering statement is documented beyond an illegal PICTURE keyword.
Diagnostic Checks
- Check the flagged variable's
PICTUREclause against valid COBOLPICTUREsyntax.
Related Errors / Related Topics
- -22268 — "P in the PICTURE clause not implemented." A related
PICTURE-clause error, on a specific unsupported symbol (P) rather than an illegal keyword generally.
A PICTURE clause contained an illegal keyword — correct the clause's syntax.