Informix Error -22602: Whenever perform not supported by ESQL/FORTRAN.
Cause and resolution
Whenever perform not supported by ESQL/FORTRAN.
You cannot specify PERFORM in a WHENEVER statement. Delete the statement, or substitute a valid option.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22602 fires when a WHENEVER statement specifies PERFORM — per the official
guidance, ESQL/FORTRAN doesn't support this option.
PERFORMspecified 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 ... PERFORM.
Diagnostic Checks
- Check the flagged
WHENEVERstatement forPERFORM, and remove it or use a supported option.
Related Errors / Related Topics
- -22601 — "Whenever raise not supported by ESQL/FORTRAN." The same class of
unsupported-
WHENEVER-option error, forRAISErather thanPERFORM.
A WHENEVER PERFORM statement isn't supported by ESQL/FORTRAN — remove it or substitute
a valid option.