Informix Error -35217: Language clause required by ANSI X3.135-1989.
Cause and resolution
Language clause required by ANSI X3.135-1989.
ANSI requires that a LANGUAGE clause be given. Specify that the language is Ada when you develop ANSI-compliant modules. See the IBM Informix Ada/SAME Programmer's Manual for more information about the LANGUAGE clause.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-35217 fires when an ANSI-compliant module omits the LANGUAGE clause — per the official
guidance, ANSI X3.135-1989 requires that a LANGUAGE clause be given.
- No
LANGUAGEclause present, per the official guidance, while developing an ANSI-compliant module — the direct, only cause.
Solutions / Resolution
- Specify that the language is Ada, per the official guidance, when developing ANSI-compliant modules.
- Consult the IBM Informix Ada/SAME Programmer's Manual for more on the
LANGUAGEclause, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a missing LANGUAGE clause in an
ANSI-compliant module.
Diagnostic Checks
- Check the module for a
LANGUAGEclause and add one namingAdaif it's missing.
Related Errors / Related Topics
- -35206 — "Language must be Ada, instead of language name." The companion restriction: once
present, the
LANGUAGEclause must specifically nameAda. - -35218 — "Authorization clause required by ANSI X3.135-1989." Another ANSI X3.135-1989 compliance requirement.
- -35219 — "At least one (SQLCODE) parameter required by ANSI X3.135-1989." Another ANSI X3.135-1989 compliance requirement.
An ANSI-compliant module was missing its required LANGUAGE clause — add one naming Ada.