Message Oracle PCB-00554 - Must include SQLCA when mode=ANSI and WHENEVER SQLWARNING used

ERRORMust include SQLCA when mode=ANSI and WHENEVER SQLWARNING used
CAUSEWhen MODE={ANSI | ANSI14}, an attempt was made to use the WHENEVER SQLWARNING statement without declaring the SQLCA. When MODE={ANSI | ANSI14}, declaring the SQLCA is optional, but to use the WHENEVER SQLWARNING statement, the SQLCA must be declared.
ACTIONRemove all WHENEVER SQLWARNING statements from the program or declare the SQLCA by hardcoding it or copying it into the program with the INCLUDE statement.