Informix Error -22281: FILLER variables can only be used as fields in a record.
Cause and resolution
FILLER variables can only be used as fields in a record.
In IBM Informix ESQL/COBOL, the FILLER keyword must identify all filler items. Filler variables can only be used as fields in a record and must also have a PIC clause associated with them. Check the declaration of the variable and change its name.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22281 fires when a FILLER item is used somewhere other than as a field in a
record — per the official guidance, FILLER must identify all filler items, can only be
used as a record field, and must have an associated PIC clause.
- A
FILLERitem used outside a record field context, or missing itsPICclause, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the variable's declaration and change its name/context so
FILLERis only used as a record field with aPICclause, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond misusing FILLER.
Diagnostic Checks
- Check the flagged variable's declaration, and confirm
FILLERis used only as a record field with an associatedPICclause.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -22281 in this set yet.
A FILLER item was misused outside a record field, or lacked a PIC clause — correct its
declaration.