Informix Error -22201: variable-name is not a unique record component.
Cause and resolution
variable-name is not a unique record component.
The name in the record has already been used, so it is not unique. Change the name of the record variable and try again.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22201 fires when a record component name has already been used elsewhere in the record — per the official guidance, so it isn't unique.
- A record component name already used elsewhere in the record, per the official guidance — the direct, only cause.
Solutions / Resolution
- Change the name of the record variable and try again, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a duplicate record component name.
Diagnostic Checks
- Check the record's component names for a duplicate, and rename the conflicting one.
Related Errors / Related Topics
- -22232 — "variable-name is not a component of record-name." A related record- component error, on the name not existing in the record at all rather than being non-unique.
A record component's name wasn't unique — rename it.