my source is float target is decimal

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
ranga1970
Participant
Posts: 141
Joined: Thu Nov 04, 2004 3:29 pm
Location: Hyderabad

my source is float target is decimal

Post by ranga1970 »

my source is float target is decimal if i map directly some of the data is being lost and my job is throwing warnings, i am using format function but it not of much help, could some one hel or Suggest????
RRCHINTALA
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
can you give some examples?

what percision do you have in source value?
what percision in target decimal?

usually a rounding of percision will ocurr if you got a 0.123456 and put it to decimal(x,4)

if you use matematic calculations befor putting the result in target you might want to try the string mathematic functions of SADD and the likes.

IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Post Reply