We have a problem concerning the usage of dynamically created cursors within a package.
Within the package we parse a dynamic SQL Cursor, the function looks like this
function GetDynCursor(SelectStr in varchar2, DynaCursor in out number) return number
is
begin
DynaCursor:=...