Informix Error -33007: '$' assumed before variable-name.
Cause and resolution
'$' assumed before variable-name.
The preprocessor has assumed that you intend the symbol variable-name in this statement as a host variable. (A host variable is normally indicated with '$' or ':' preceding it.) Check that you did intend this meaning.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-33007 fires as a warning when the preprocessor treats a bare symbol as a host variable —
per the official guidance, a host variable is normally marked with a leading $ or :,
and the preprocessor assumed that meaning here.
- A symbol used as a host variable without its leading
$/:marker, per the official guidance — the direct, only cause.
Solutions / Resolution
- Confirm the symbol was intended as a host variable, per the official guidance — if so no change is needed since the preprocessor already assumed it correctly; if not, rename the conflicting identifier.
Examples
N/A
No specific triggering statement is documented beyond an unmarked host-variable reference.
Diagnostic Checks
- Check whether the flagged symbol was intended as a host variable, and add the
$/:marker explicitly, or rename it, to remove ambiguity.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -33007 in this set yet.
The preprocessor assumed an unmarked symbol was a host variable — confirm the intent, and mark it explicitly to remove ambiguity.