Informix Error -22650: Missing END statement-name statement.
Cause and resolution
Missing END statement-name statement.
This message indicates an IBM Informix ESQL/FORTRAN preprocessor error. A STRUCTURE/UNION/MAP statement does not have a corresponding END statement. Check that each STRUCTURE/UNION/MAP statement is paired with a subsequent END statement and try again.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22650 fires when a STRUCTURE/UNION/MAP statement has no corresponding END
statement — per the official guidance.
- A
STRUCTURE/UNION/MAPwith no subsequent matchingEND, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check that each
STRUCTURE/UNION/MAPstatement is paired with a subsequentENDstatement, per the official guidance, and add the missing one.
Examples
N/A
No specific triggering statement is documented beyond a missing END statement.
Diagnostic Checks
- Check the surrounding code for the flagged
STRUCTURE/UNION/MAPstatement's matchingEND, and add it if missing.
Related Errors / Related Topics
- -22649 — "Unmatched END statement-name statement." The mirror-image error, for an
ENDstatement with no matching opener rather than an opener with no matchingEND.
A STRUCTURE/UNION/MAP statement had no matching END — add the missing statement.