Error message: ORA-24374: define not done before fetch or ex

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
deesh
Participant
Posts: 193
Joined: Mon Oct 08, 2007 2:57 am

Error message: ORA-24374: define not done before fetch or ex

Post by deesh »

Hi,

I am phasing below error, i searched in dsxchange but i didn't found the correct answer.

DS Version : 9.1.2
Stage: oracle connector

Read_Base_Table_Historical,0: The OCI function OCIStmtFetch2 returned status -1. Error code: 24,374, Error message: ORA-24374: define not done before fetch or execute and fetch. (CC_OraStatement::fetch, file CC_OraStatement.cpp, line 1,599)
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So... we're supposed to guess what exactly it is you are doing in the stage?
-craig

"You can never have too many knives" -- Logan Nine Fingers
deesh
Participant
Posts: 193
Joined: Mon Oct 08, 2007 2:57 am

Post by deesh »

yes,

we are feching records through oracle connector and done the manipulation through storeprocdure and store it in oracle table.

our project default NLS is UTF-18.

even i am going to check NLS change to ASCII let's check.
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Post by prasson_ibm »

Can you please explain simple what you are doing in your job design.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Or at the very least, as requested, details of how you are 'fetching records'... how is the stage configured?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply