Oracle Message PCC-00137 - Invalid use of SQL cursor host variable

ERRORInvalid use of SQL cursor host variable
CAUSEA SQL_CURSOR variable was used in an INTO or WHERE clause. SQL_CURSOR variables can be used only where ordinary cursor identifiers would be used or, in a PL/SQL block, where a cursor would normally be used.
ACTIONRemove the SQL cursor variable reference from the INTO clause or WHERE clause, or use a host variable of another type in the INTO or WHERE clause.