How to fix the Oracle error PCC-00136: Invalid SQL_CURSOR declaration?
In this post, you’ll learn more about the Oracle ErrorPCC-00136: Invalid SQL_CURSOR declaration with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
PCC-00136: Invalid SQL_CURSOR declaration
Reason for the Error PCC-00136: Invalid SQL_CURSOR declaration
Cause: An array of SQL_CURSOR host variables was declared or, if Pro*COBOL, a PICTURE clause was specified in the SQL-CURSOR declaration. In Pro*FORTRAN, a length specification (i.e. “*n”) on the SQL_CURSOR declaration could have been specified. These usages are not supported.
How to fix the Error PCC-00136: Invalid SQL_CURSOR declaration ?
You can fix this error in Oracle by following the below steps
Action: Check that the SQL_CURSOR variable is not declared as an array or, if Pro*COBOL, that no PICTURE clause is specified for the SQL_CURSOR. In Pro*FORTRAN, check that there is no length specification (i.e. “*n”) for the SQL_CURSOR.
Leave Your Comment