I gave you the program wrong. It was like this:


declare

x mypackage.gencursor;

begin

mypackage.myprocedure(x);

for v1 in x loop

dbms_output.put_line(v1.name);

end loop;

end;
/