Informix Error -22232: variable-name is not a component of record-name.
Cause and resolution
variable-name is not a component of record-name.
The variable name is not part of the components of the record. Check the record declaration and its components to verify that you have correctly declared the variable with this name.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22232 fires when a referenced variable name isn't actually part of the named record's components — per the official guidance.
- A variable name that isn't a declared component of the referenced record, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the record declaration and its components to confirm the variable is correctly declared, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond referencing a non-component variable.
Diagnostic Checks
- Check the record's declared component list, and confirm the flagged variable name matches an actual component.
Related Errors / Related Topics
- -22201 — "variable-name is not a unique record component." A related record- component error, on the name being duplicated rather than absent from the record.
A referenced variable wasn't a component of the named record — check the record's actual component list.