Oracle Message PCC-01017 - The SQLCA and a SQLCODE variable cannot both be used

ERRORThe SQLCA and a SQLCODE variable cannot both be used
CAUSEThe 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.
ACTIONUse either the SQLCA or the SQLCODE variable. Remove either the include of the SQLCA or the SQLCODE variable declaration.