ERROR | SQL identifier was not declared as a statement |
CAUSE | A SQL statement identifier was referenced in a DECLARE... CURSOR statement that was not PREPAREd. |
ACTION | Check 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. |