ashu2769
asked on
ORA-24374: define not done before fetch or execute and fetch
We are correcting several Actuate reports for the ICM Application.
For one of the reports we have a select query imbeded in the Actuate report.
We run this query against the oracle 9i database.
This query works perfectly fine from Toad or Actuate Development Tool (erdPro ). But once we port the report executable on the Actuate server and try to run the report, we get following error message :
24374: ORA-24374: define not done before fetch or execute and fetch
Could you please help us identify the problem?
For one of the reports we have a select query imbeded in the Actuate report.
We run this query against the oracle 9i database.
This query works perfectly fine from Toad or Actuate Development Tool (erdPro ). But once we port the report executable on the Actuate server and try to run the report, we get following error message :
24374: ORA-24374: define not done before fetch or execute and fetch
Could you please help us identify the problem?
ASKER
Hi,
I am really not clear how can I fix this. Should I try writing SQL code in some other way?
Thanks and regards,
-Ashu
I am really not clear how can I fix this. Should I try writing SQL code in some other way?
Thanks and regards,
-Ashu
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Did you check out the error message?
ORA-24374: define not done before fetch or execute and fetch
Cause: The application did not define output variables for data being fetched before issuing a fetch call or invoking a fetch by specifying a non-zero row count in an execute call.
Action: Issue OCI define calls for the columns to be fetched.