Oracle Message PCC-02334 - SQL identifier was not declared as a cursor

ERRORSQL identifier was not declared as a cursor
CAUSEA cursor name was used in an OPEN, FETCH, or CLOSE statement that had not been DECLAREd.
ACTIONCheck that all SQL cursor names have been declared. Remember that cursors are identifiers, not variables, and that they are local to the precompilation unit.