How to fix the Oracle error PCC-01008: Multiple element records not allowed in DECLARE section?

In this post, you’ll learn more about the Oracle ErrorPCC-01008: Multiple element records not allowed in DECLARE section with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PCC-01008: Multiple element records not allowed in DECLARE section

Reason for the Error PCC-01008: Multiple element records not allowed in DECLARE section

Cause: A few COBOL compilers do not allow group items to be passed as parameters in a CALL statement. (Check the COBOL compiler user’s guide.) If the compiler is one of these, group items within the Declare Section can contain only one elementary item.

How to fix the Error PCC-01008: Multiple element records not allowed in DECLARE section ?

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

Action: Assign each host variable its own group item.

Tags :

Leave Your Comment