Category Archives: Uncategorized

PCC-00013: Unable to open include file “string” at line number in file string

oracle

PCC-00013: Unable to open include file "string" at line number in file string
Cause: The precompiler was unable to open the input file specified in the INCLUDE statement. Some possible causes follow: 

     The file name is misspelled. 

     The file does not exist. 

     The search path to the file is incorrect. 

     File access privileges are insufficient. 

     There is not enough disk space. 

     There are too many open files.
Action: Check that the file exists, that the search path to the file is correct, that sufficient privileges to access the file have been granted, and that it is not locked by another user. Also, check with the system manager to make sure there is enough disk space and that the limit for open files is set high enough.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PCC-00012: Not in a declare section at line number in file string

oracle

PCC-00012: Not in a declare section at line number in file string
Cause: An END DECLARE SECTION statement without a matching BEGIN DECLARE SECTION statement was found. Either the BEGIN DECLARE SECTION statement is missing or misspelled or the END DECLARE SECTION statement is an extra.
Action: Add or correct the BEGIN DECLARE SECTION statement or remove the extra END DECLARE SECTION statement.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PCC-00011: Already in a declare section at line number in file string

oracle

PCC-00011: Already in a declare section at line number in file string
Cause: A BEGIN DECLARE SECTION statement was found inside a DECLARE section.
Action: Remove the extra BEGIN DECLARE SECTION statement.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PCC-00010: Statement out of place at line number in file string

oracle

PCC-00010: Statement out of place at line number in file string
Cause: An EXEC statement was not placed properly in the host program. For example, there might be a data manipulation statement in the DECLARE section. In a Pro*COBOL program, the DECLARE section might be outside the WORKING-STORAGE or LINKAGE SECTION.
Action: Remove or relocate the statement.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PCC-00009: Invalid host variable at column number in line number of file string

oracle

PCC-00009: Invalid host variable at column number in line number of file string
Cause: A host variable used in an EXEC SQL statement was not declared in the DECLARE section or has an unsupported datatype.
Action: Declare the host variable in the DECLARE section, making sure it has one of the supported datatypes.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

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

oracle

PCC-00008: Invalid WHENEVER action at column number in line number of file string
Cause: At lease one of the following: 

     An action other than CONTINUE, DO, GOTO, or STOP was specified in an EXEC SQL WHENEVER statement. 

     One of the specified actions was spelled incorrectly. 

     The host language does not allow the action (STOP is illegal in Pro*Pascal programs). 

     A GOTO label is invalid.
Action: Check that the host language allows the specified WHENEVER action. If necessary, correct the spelling of the WHENEVER action or correct the GOTO label.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PCC-00007: Invalid WHENEVER condition at column number in line number of file string

oracle

PCC-00007: Invalid WHENEVER condition at column number in line number of file string
Cause: A condition other than SQLERROR, SQLWARNING, or NOT FOUND was specified in an EXEC SQL WHENEVER statement, or one of these was used, but spelled incorrectly.
Action: Correct the spelling of the WHENEVER condition or use a host- language IF statement to test the special condition.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PCC-00005: Unsupported datatype in line number of file string

oracle

PCC-00005: Unsupported datatype in line number of file string
Cause: A host variable defined in the DECLARE section has an unsupported datatype or has a scale or precision outside the supported range.
Action: Redefine the host variable using a supported datatype. Check that the scale and precision of a numeric variable are in the accepted range.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PCC-00004: Mismatched IF/ELSE/ENDIF block at line number in file string

oracle

PCC-00004: Mismatched IF/ELSE/ENDIF block at line number in file string
Cause: There is an EXEC ORACLE ELSE or EXEC ORACLE ENDIF statement without a matching EXEC ORACLE IFDEF statement.
Action: Add the missing EXEC ORACLE IFDEF statement or delete or move the EXEC ORACLE ELSE or EXEC ORACLE ENDIF statement.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PCC-00003: Invalid SQL Identifier at column number in line number of file string

oracle

PCC-00003: Invalid SQL Identifier at column number in line number of file string
Cause: The symbol in a conditional precompilation statement (such as EXEC ORACLE IFDEF) is invalid, or the name of a SQL descriptor, statement, or cursor is invalid or was not properly declared.
Action: Check the statement syntax and spelling of the identifier and check that a reserved word was not accidentally used. If necessary, define the identifier in a variable declaration or DECLARE statement ahead of the line in error.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/