How to fix the Oracle error PCC-00079: ANSI requires colon on label in WHENEVER statement?

In this post, you’ll learn more about the Oracle ErrorPCC-00079: ANSI requires colon on label in WHENEVER statement with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PCC-00079: ANSI requires colon on label in WHENEVER statement

Reason for the Error PCC-00079: ANSI requires colon on label in WHENEVER statement

Cause: An Oracle extension to the ANSI/ISO SQL standard was used. Specifically, an alphanumeric WHENEVER … GOTO label was not prefixed with a colon. For example the offending code might look like: EXEC SSQL WHENEVER NOT FOUND GOTO no_more; This informational message is issued by the FIPS Flagger when FIPS=YES.

How to fix the Error PCC-00079: ANSI requires colon on label in WHENEVER statement ?

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

Action: No action required. However, for ANSI/ISO compliance, prefix alphanumeric (but not numeric) WHENEVER … GOTO labels with a colon.

Tags :

Leave Your Comment