How to fix the Oracle error PCC-01006: EXEC statement cannot begin in Area A at line number in file string?

In this post, you’ll learn more about the Oracle ErrorPCC-01006: EXEC statement cannot begin in Area A 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-01006: EXEC statement cannot begin in Area A at line number in file string

Reason for the Error PCC-01006: EXEC statement cannot begin in Area A at line number in file string

Cause: In a Pro*COBOL program, EXEC statements must begin in Area B, but the precompiler found a statement beginning in Area A.

How to fix the Error PCC-01006: EXEC statement cannot begin in Area A at line number in file string ?

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

Action: Move the statement rightward so that it begins in Area B.

Tags :

Leave Your Comment