Fectch out of sequence

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

Fectch out of sequence

Post by sumesh.abraham »

Hi

I have set Array Size as 1000 in the Oracle OCI stage. When run, job aborted with error ORA-01002: fetch out of sequence. When I selected the 'Disable Array Fetch' checkbox , my job finished successfully. Some times job finishes successfully even when the Disable Array Fetch is not selected. What can I do to make sure that my jobs will not abort in production. I have 30-40 jobs which uses Oracle OCI stage as source.

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

Post by chulett »

Uncheck 'Array Fetch' and set your Array Size to 1 - does the job abort? What kind of columns are you selecting, any CLOB or unbound NUMBER fields? Search here for the error as well, it's been discussed a time or two.
-craig

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