Informix Error -33067: ELIF without IFDEF.
Cause and resolution
ELIF without IFDEF.
An IFDEF or IFNDEF statement does not precede this ELIF statement. Review the source lines that precede this point. The preceding statement was omitted, or it might not have been recognized due to an earlier error.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-33067 fires when an ELIF statement has no preceding matching IFDEF/IFNDEF — per
the official guidance, the preceding statement was either omitted or wasn't recognized
due to an earlier error.
- An
ELIFwith no precedingIFDEF/IFNDEF, per the official guidance — the direct cause. - A preceding
IFDEF/IFNDEFunrecognized because of an earlier error, per the official guidance — an indirect cause.
Solutions / Resolution
- Review the source lines preceding this point for a missing or unrecognized
IFDEF/IFNDEF, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an unmatched ELIF.
Diagnostic Checks
- Check for a preceding
IFDEF/IFNDEF, and fix any earlier error that might have hidden it.
Related Errors / Related Topics
- -33052 — "Unmatched ELSE." A related conditional-pairing error.
- -33053 — "Unmatched ENDIF." A related conditional-pairing error.
- -33062 — "Missing ENDIF." A related conditional-pairing error.
- -33068 — "ELIF after ELSE." A related conditional-ordering error, on
ELIFincorrectly followingELSErather than missing itsIFDEF.
An ELIF had no preceding matching IFDEF/IFNDEF — check preceding source for a
missing or unrecognized conditional.