Informix Error -35036: This line uses an Informix extension to ISO/ANSI SQL, near identifier or symbol name.
Cause and resolution
This line uses an Informix extension to ISO/ANSI SQL, near identifier or symbol name.
This error message appears only when you use the -ansi option. Revise the statement to comply to ANSI standards.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-35036 fires only when the ESQL preprocessor is run with the -ansi option — per the official
guidance, it flags any statement using Informix-specific SQL syntax that ISO/ANSI standard SQL
doesn't define.
- The
-ansicompile option being used, per the official guidance — this warning is suppressed entirely without it. - An Informix-specific extension appearing in the flagged statement, per the official guidance, near the named identifier or symbol.
Solutions / Resolution
- Revise the statement to comply with ANSI standards, per the official guidance, if ANSI portability is actually required.
- If ANSI compliance isn't actually a requirement, drop the
-ansioption instead of rewriting the statement.
Examples
N/A
No specific triggering statement is documented beyond "an Informix extension... near identifier or symbol name" — the exact offending syntax varies per statement.
Diagnostic Checks
- Confirm whether
-ansiis actually required for this build before investing in rewriting the flagged statement. - Identify the specific Informix extension in use at the named identifier/symbol.
Related Errors / Related Topics
- -35226 — Shares this exact message text; appears to be the same ANSI-extension warning reused at a second code position in this set.
- -35038 — "This statement uses an Informix extension to the X/Open standard..." The X/Open-compliance-mode counterpart to this ANSI-compliance-mode warning.
- -35227 — Shares -35038's message text; the X/Open counterpart to -35226.
An Informix-specific SQL extension triggered this only because -ansi was in effect — revise
the statement, or drop -ansi if ANSI portability isn't actually needed.