Informix Error -22601: Whenever raise not supported by ESQL/FORTRAN.
Cause and resolution
Whenever raise not supported by ESQL/FORTRAN.
You cannot specify RAISE in a WHENEVER statement. Delete the statement, or substitute a valid option.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22601 fires when a WHENEVER statement specifies RAISE — per the official guidance,
ESQL/FORTRAN doesn't support this option.
RAISEspecified in aWHENEVERstatement, per the official guidance — the direct, only cause.
Solutions / Resolution
- Delete the statement, or substitute a valid option, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond WHENEVER ... RAISE.
Diagnostic Checks
- Check the flagged
WHENEVERstatement forRAISE, and remove it or use a supported option.
Related Errors / Related Topics
- -22602 — "Whenever perform not supported by ESQL/FORTRAN." The same class of
unsupported-
WHENEVER-option error, forPERFORMrather thanRAISE.
A WHENEVER RAISE statement isn't supported by ESQL/FORTRAN — remove it or substitute a
valid option.