How to fix the Oracle error PCB-00304: Oracle extension to the WHENEVER statement?

In this post, you’ll learn more about the Oracle ErrorPCB-00304: Oracle extension to the WHENEVER statement with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PCB-00304: Oracle extension to the WHENEVER statement

Reason for the Error PCB-00304: Oracle extension to the WHENEVER statement

Cause: An Oracle extension to the ANSI/ISO SQL standard was used. Specifically, a nonconforming keyword such as NOTFOUND, STOP, RAISE, or DO was used in the WHENEVER statement. (Note that NOT FOUND is ANSI-compliant.) For example, the offending code might look like: EXEC SQL WHENEVER SQLERROR STOP END-EXEC. This informational message is issued by the FIPS Flagger when FIPS=YES.

How to fix the Error PCB-00304: Oracle extension to the WHENEVER statement ?

You can fix this error in Oracle by following the below steps

Action: No action required. However, for ANSI/ISO compliance, do not use the nonconforming keyword.

Tags :

Leave Your Comment