How to fix the Oracle error PCC-01017: The SQLCA and a SQLCODE variable cannot both be used?
In this post, you’ll learn more about the Oracle ErrorPCC-01017: The SQLCA and a SQLCODE variable cannot both be used with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
PCC-01017: The SQLCA and a SQLCODE variable cannot both be used
Reason for the Error PCC-01017: The SQLCA and a SQLCODE variable cannot both be used
Cause: The SQLCA has been included and a SQLCODE variable has been declared. This is not allowed as references to the SQLCODE variable are ambiguous and will result in COBOL compiler errors.
How to fix the Error PCC-01017: The SQLCA and a SQLCODE variable cannot both be used ?
You can fix this error in Oracle by following the below steps
Action: Use either the SQLCA or the SQLCODE variable. Remove either the include of the SQLCA or the SQLCODE variable declaration.
Leave Your Comment