Informix Error -33038: This statement does not conform to the X/Open standard.
Cause and resolution
This statement does not conform to the X/Open standard.
This message is a warning only. You used the -xopen option, asking that the source file be checked for compliance with the XPG4 X/Open standard.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-33038 is a preprocessor warning — per the official guidance, it fires when the -xopen
compliance-check option is used and the source statement doesn't conform to the XPG4
X/Open standard.
- The
-xopenoption used with source code not conforming to XPG4, per the official guidance — the direct, only cause.
Solutions / Resolution
- No action needed if the non-conformance is intentional, per the official guidance — this is a compliance warning, not an error requiring a fix.
- Rewrite the statement for XPG4 compliance if strict conformance is required, per the official guidance's implication.
Examples
N/A
No specific triggering statement is documented beyond XPG4 non-conformance flagged under
-xopen.
Diagnostic Checks
- Check whether strict XPG4 X/Open compliance is actually required, and rewrite the flagged statement if so.
Related Errors / Related Topics
- -33033 — "The field field-name is an Informix extension to XPG3 X/Open standard." A related standards-compliance warning, for XPG3 field extensions specifically.
- -33036 — "This line does not conform to ANSI X3.135-1989." A related
standards-compliance warning, for the
-ansioption rather than-xopen.
A statement didn't conform to the XPG4 X/Open standard under -xopen checking — a warning
only, no action needed unless strict compliance is required.