Oracle Message PCC-00008 - Invalid WHENEVER action at column number in line number of file string

ERRORInvalid WHENEVER action at column number in line number of file string
CAUSEAt lease one of the following: o An action other than CONTINUE, DO, GOTO, or STOP was specified in an EXEC SQL WHENEVER statement. o One of the specified actions was spelled incorrectly. o The host language does not allow the action (STOP is illegal in Pro*Pascal programs). o A GOTO label is invalid.
ACTIONCheck that the host language allows the specified WHENEVER action. If necessary, correct the spelling of the WHENEVER action or correct the GOTO label.