ORA-06539: target ofOPEN must be a query Cause: The program attempted to perform an OPEN cursor operationon a
dynamic statement that was not a query. Action: Ensurethat the OPEN cursor operation is done on a dynamic query
statement. -------------------------------------------------------- 06540through 06549
reserved for pl/sql error handling