Error while fetching records through OCI stage

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
sumesh.abraham
Participant
Posts: 153
Joined: Thu May 11, 2006 1:52 am
Location: Bangalore

Error while fetching records through OCI stage

Post by sumesh.abraham »

All,

I'm reading records from Oracle table using OCI stage and write to a sequential file. The query performs UNION all operation on two tables which have history records and these tables have huge number of records. When I run the job, the job gets aborted with error
Ora - Fetch out of sequence
I'm performing min and max date functions on 2 date columns in all union statements in the query.

What is the cause? Any help would be highly appreciated. If required I can post the query.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

First suggestion - search the forums for "Fetch out of sequence" and see if any help solve your problem.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sumesh.abraham
Participant
Posts: 153
Joined: Thu May 11, 2006 1:52 am
Location: Bangalore

Post by sumesh.abraham »

Craig,

My search for 'Fetch out of sequence' didn't return any results.

What could be the cause? Appreciate your help.

Thanks.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Make sure you are doing an "Exact" match, I got 8 matches when I tried it.
-craig

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