How to fix the Oracle error PCC-01013: Invalid use of PIC N array variable “string” at line number in file string?
In this post, you’ll learn more about the Oracle ErrorPCC-01013: Invalid use of PIC N array variable “string” 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-01013: Invalid use of PIC N array variable “string” at line number in file string
Reason for the Error PCC-01013: Invalid use of PIC N array variable “string” at line number in file string
Cause: A PIC N variable was declared using an OCCURS clause. Tables of PIC N variables are not supported by the Pro*COBOL precompiler.
How to fix the Error PCC-01013: Invalid use of PIC N array variable “string” at line number in file string ?
You can fix this error in Oracle by following the below steps
Action: Declare the PIC N variable without an OCCURS clause or, if the PIC N variable is not used in any SQL statements, declare it outside the Declare Section.
Leave Your Comment