OCI has fetched truncated data

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
amitendra_amit
Participant
Posts: 27
Joined: Fri Jul 28, 2006 2:11 pm

OCI has fetched truncated data

Post by amitendra_amit »

Hi,

One of our job is throwing waring with message
"OCI has fetched truncated data".

Any idea why this error is coming.

Cheers
Sunshine
DS_SUPPORT
Premium Member
Premium Member
Posts: 232
Joined: Fri Aug 04, 2006 1:20 am
Location: Bangalore

Post by DS_SUPPORT »

Do a Search, You can find So many posts for answering this. One possible solution Your Job metada wont be matching with ur oracle table structure.

Try to identify the column which throws this error and increase the size of that column in the job.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Thats a nasty OCI API error as it retrieves a field that requires to be defined differently in DS. The annoying part is, its trial and error. ie, you have to try changing the sql type and the length. Good luck.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If you have Enterprise Edition with parallel jobs licensed you can use the orchdbutil utility to import table definitions accurately.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: OCI has fetched truncated data

Post by chulett »

amitendra_amit wrote:Any idea why this error is coming.
No not really, not with so little information SunShine. :?

However, we can make some guesses. What kind of fields are in your source table(s)? Anything fun like a CLOB? If not a CLOB are there any NUMBER fields defined? Not NUMBER(xx) but just NUMBER... those are the two primary suspects when you see this error.
-craig

"You can never have too many knives" -- Logan Nine Fingers
praburaj
Premium Member
Premium Member
Posts: 133
Joined: Thu Jun 30, 2005 1:26 am
Location: philippines

Re: OCI has fetched truncated data

Post by praburaj »

Thanks all. I solved my problem :D
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Funny, but you're not the person with the problem. Still, what was your solution? We try to be all about sharing solutions, ya know.
-craig

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