Informix Error -35227: This statement uses an Informix extension to the X/Open standard, near identifier or symbol name.
Cause and resolution
This statement uses an Informix extension to the X/Open standard, near identifier or symbol name.
Use of an Informix extension to the X/Open SQL syntax has been detected. Use an X/Open-compliant syntax to ensure maximum portability.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-35227 shares its exact message text with -35038 — per the official guidance, it fires when the
ESQL preprocessor, run with the -xopen option, detects an Informix-specific SQL extension that
the X/Open standard doesn't define.
- The
-xopencompile 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
- Use an X/Open-compliant syntax to ensure maximum portability, per the official guidance.
- If X/Open compliance isn't actually a requirement, drop the
-xopenoption 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
-xopenis 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
- -35038 — Shares this exact message text and cause; the same X/Open-extension warning at a different code position in this set.
- -35036 — "This line uses an Informix extension to ISO/ANSI SQL..." The ANSI-compliance-mode counterpart.
- -35226 — Shares -35036's message text; the ANSI counterpart to this code.
An Informix-specific SQL extension triggered this only because -xopen was in effect — use
X/Open-compliant syntax, or drop -xopen if X/Open portability isn't actually needed.