declare
	cursor c1 is select * from employ ;
	e employ%rowtype;
begin
	 close c1;
exception 
    when invalid_cursor then
      dbms_output.put_line('invalid cursor');
end;
/