Conversion error converting input field

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
radarada
Participant
Posts: 17
Joined: Wed Jul 16, 2008 7:42 am

Conversion error converting input field

Post by radarada »

I have a VALUE field of 38,10 and I am using the trim(DecimalToString(mv_CRAFTOUT.VALUE ,"suppress_zero")) but I am still getting this error

xfmLoadDS,1: Conversion error converting input field VALUE to output field VALUE, data may have been lost [transform/tfmop_functions.C:131]

I have increased the varchar field to 100 and it still shows the error.
mfavero
Premium Member
Premium Member
Posts: 45
Joined: Thu Jan 16, 2003 1:20 pm
Location: Minneapolis

Post by mfavero »

38,10 is not a valid decimal. 38.10 would be
Michael Favero

2852 Humboldt Ave So
Minneapolis, MN 55408
mfavero
Premium Member
Premium Member
Posts: 45
Joined: Thu Jan 16, 2003 1:20 pm
Location: Minneapolis

Post by mfavero »

38,10 is not a valid decimal. 38.10 would be
Michael Favero

2852 Humboldt Ave So
Minneapolis, MN 55408
radarada
Participant
Posts: 17
Joined: Wed Jul 16, 2008 7:42 am

Post by radarada »

Length 38 scale 10 same as 38,10
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I think radarada means "decimal[38,10]" rather than 38,10 as the value.

Even so, in most European locales, 38,10 IS a valid decimal number.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply