Inserted value too large for column, row rejected.

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
kjaouhari
Participant
Posts: 325
Joined: Thu Mar 16, 2006 10:22 am

Inserted value too large for column, row rejected.

Post by kjaouhari »

Hello DSxians !

I run a simple job wih a propagate transformer between 2 oracle tables.
The tables are similar this is why I don't understand how can I get this error message :
At row 1638, link "DSLink11"
Inserted value too large for column, row rejected.

do you have an idea ?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Example: your column is Char(12) and your data length is greater than 12.
Example: your column is Number(7) and your data value contains more than 7 digits.
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

Post by chulett »

And the problem is you don't get a clue from Oracle which field is the problem... you get to figure that out all on your lonesome. :roll:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Nageshsunkoji
Participant
Posts: 222
Joined: Tue Aug 30, 2005 2:07 am
Location: pune
Contact:

Post by Nageshsunkoji »

chulett wrote:And the problem is you don't get a clue from Oracle which field is the problem... you get to figure that out all on your lonesome. :roll:
Hi,

This is purely data problem. As craig suggested, you have to dig yourself into the data, there is no choice to identify it. Just check the 1638 row for all the data as error suggested.
NageshSunkoji

If you know anything SHARE it.............
If you Don't know anything LEARN it...............
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Well just go to the transformer, look the bottom half where the metadata is visible. Examine both input and output visually. You will be able to see which column has a bigger length and is being mapped to a column with lesses length.
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 »

Maybe, but DataStage (in server jobs) does not enforce things like maximum length for VarChar, so it doesn't bite till you get to the INSERT/UPDATE statement.
Last edited by ray.wurlod on Wed Nov 22, 2006 11:12 am, edited 1 time in total.
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

Post by chulett »

Right, it's not about the metadata but the actual contents of the field.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kjaouhari
Participant
Posts: 325
Joined: Thu Mar 16, 2006 10:22 am

Post by kjaouhari »

thanks, i've checked the metadata input and output but it seems to be ok. (they are similar) . I let you know when I will check data directly.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

chulett wrote:Right, it's not about the metadata but the actual contents of the field.
O boy. Good luck on that then.
I, once had that problem. But I could tell by looking at the source and target length. But then again, I guess, I was just lucky.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply