Informix Error -35215: Undefined host variable or parameter: name.
Cause and resolution
Undefined host variable or parameter: name.
A reference has been made to a host variable or procedure parameter that is not defined.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-35215 fires when a reference is made to a host variable or procedure parameter that was never defined — per the official guidance.
- A reference to a host variable or parameter that doesn't exist, per the official guidance — the direct, only cause.
Solutions / Resolution
- Define the host variable or parameter before referencing it, or correct the reference if it names the wrong identifier — the official guidance names no further specifics beyond the undefined reference itself.
Examples
N/A
No specific triggering statement is documented beyond a reference to an undefined host variable or parameter.
Diagnostic Checks
- Search for a declaration of the named host variable/parameter — if none exists, either add one or correct the reference.
Related Errors / Related Topics
- -35205 — "Parameter parameter name already defined." The opposite problem: a parameter name used twice rather than never defined.
- -35221 — "Character string parameter cannot have an OUT mode." Another parameter-related restriction.
A reference was made to a host variable or parameter that was never defined — define it, or correct the reference.