PCC-00042: Must EXEC SQL INCLUDE SQLCA when mode=ANSI and
WHENEVER SQLWARNING used



PCC-00042: Must EXEC SQL INCLUDE SQLCA when mode=ANSI and WHENEVER SQLWARNING used..

Answer / guest

Cause: When 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.

Action: Remove all WHENEVER SQLWARNING statements from the
program or declare the SQLCA by hardcoding it or copying it
into the program with the INCLUDE statement.

Please add more information about this Error

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

ORA-02802: No idle servers available in parallel mode

1 Answers  


ORA-23443: missing template parameter

1 Answers  


ORA-12086: table "string"."string" is not an object table

1 Answers  


ORA-14321: cannot add/drop values to DEFAULT partition

1 Answers  


ORA-14075: partition maintenance operations may only be performed on partitioned indices

1 Answers  






O2U-00206: Some characters in a type name were not legal identifier characters

1 Answers  


NID-00403: DBNEWID - Completed with validation errors.

1 Answers  


IMG-00710: unable to write to destination image

1 Answers  


TNS-00237: Failed to refuse connection

1 Answers  


ORA-24325: this OCI operation is not currently allowed

1 Answers  


DRG-10845: column string is not indexed

1 Answers  


TNS-00119: Missing PUMP_CONNECTIONS in INTCHG.ORA

1 Answers  


Categories