error running a stored proc in toad -- oracle ver 9.2

Hello Experts..  
  I have a stored proc in 2 environments one running oracle 10g and the other running oracle  I am using Toad for development and testing the packages/procedures.
In the procedure I am returning a ref cursor to the calling program which is a java program.
I want to test the output of the procedure and in Toad I can click on the ''thunderbolt' icon and it opens a window to enter input parameters and in the options tab I can select to display the ref cursor output in a grid.  
This works in Oracle 10g and I get the ref cursor output in a grid. But in Oracle I get an error which says
ORA-24338: statement handle not executed

what does this mean?? and do i need to change the code to see the output?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You cannot see the output of REF CURSOR in toad, you need to write a separate routine to see ref cursor values
lv_result number;
    your_package.your_procedure('param1','param2', v_result);


In the Procedure Editor, load your procedure. Click on the lightning
bolt to execute and you will see the Set Parameters window, which is
also available via the button on the Proc Editor toolbar that has an
image similar to (...) on it, next to the lightning bolt. Click on the
output options button and you'll see your options. If this is a weak ref
cursor then you must use the in-memory grid option. Results go to the
cursor results tab at the bottom of the PE after you execute.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.