Informix Error -33018: Indicator variables are not allowed in this clause.
Cause and resolution
Indicator variables are not allowed in this clause.
This statement includes a specification of a host variable with an indicator variable, but no indicator variable is allowed in this context. Review each use of an indicator variable and remove the unnecessary ones.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-33018 fires when a host variable specifies an indicator variable in a clause that doesn't allow one — per the official guidance.
- An indicator variable specified in a context that doesn't permit one, per the official guidance — the direct, only cause.
Solutions / Resolution
- Review each indicator-variable use and remove the unnecessary ones, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a disallowed indicator variable.
Diagnostic Checks
- Check the flagged clause for an indicator-variable specification, and remove it if the clause doesn't support one.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -33018 in this set yet.
An indicator variable was specified in a clause that doesn't allow one — remove it.