Message Oracle PCC-02333 - SQL identifier was not declared as a statement

ERRORSQL identifier was not declared as a statement
CAUSEA SQL statement identifier was referenced in a DECLARE... CURSOR statement that was not PREPAREd.
ACTIONCheck that all SQL statement names have been declared. Remember that SQL statement names are identifiers, not variables, and that they are local to the precompilation unit.