Informix Error -22210: Repeated data item variable-name is not expanded.
Cause and resolution
Repeated data item variable-name is not expanded.
The ESQL/COBOL preprocessor does not expand the record that contains repeated data items. Change the record and try again.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22210 fires when a record contains repeated data items — per the official guidance, the ESQL/COBOL preprocessor doesn't expand records that contain repeated data items.
- A record containing repeated data items, per the official guidance — the direct, only cause.
Solutions / Resolution
- Change the record so it doesn't contain repeated data items, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a record with repeated data items.
Diagnostic Checks
- Check the flagged record's declaration for repeated (
OCCURS-style) data items, and restructure it.
Related Errors / Related Topics
- -22231 — "Record nesting limit exceeded." A related record-structure error, on excessive nesting depth rather than repeated data items.
A record contained repeated data items, which the preprocessor doesn't expand — restructure the record.