Informix Error -22230: Identification error on host symbol variable-name.
Cause and resolution
Identification error on host symbol variable-name.
The host variable has been declared more than once. Check for the duplicate variable declaration and redeclare one of the variables.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22230 fires when a host variable has been declared more than once — per the official guidance.
- A host variable declared more than once, per the official guidance — the direct, only cause.
Solutions / Resolution
- Find the duplicate variable declaration and redeclare one of the variables, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a duplicate host-variable declaration.
Diagnostic Checks
- Search the declaration section for a duplicate of the flagged variable name, and rename or remove one.
Related Errors / Related Topics
- -22229 — "Host object variable-name not declared." The mirror-image error, for a variable not declared at all rather than declared twice.
A host variable was declared more than once — rename or remove the duplicate.