How to fix the Oracle error PCC-00010: Statement out of place at line number in file string?

In this post, you’ll learn more about the Oracle ErrorPCC-00010: Statement out of place at line number in file string with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

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

Reason for the Error 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.

How to fix the Error PCC-00010: Statement out of place at line number in file string ?

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

Action: Remove or relocate the statement.

Tags :

Leave Your Comment