To Avoid Warning While Execution

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
Sachin K.C.
Participant
Posts: 12
Joined: Thu Sep 14, 2006 5:18 am
Location: Thane
Contact:

To Avoid Warning While Execution

Post by Sachin K.C. »

Hi, In my job i have used StringToDecimal function in many places, while running job i am getting the below warning in DS Director , but i could not able to trace the warning raises through which transfemation stage step.

xfrmLoadData,1: Conversion error calling conversion routine
decimal_from_string data may have been lost

Can anyone suggest me the method for avoiding the above warning / debug method?
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Post by kris007 »

Hi Sachin, Welcome aboard.

The method to avoid this warning is to solve it. From the error message it appears that you are not converting your string to Decimal correctly. It is also complaining about it in the stage xfrmLoadData. Check if you are doing the conversion correctly in that transformer. For more help, post the derivation you are using in the transformer stage.
Kris

Where's the "Any" key?-Homer Simpson
Kirtikumar
Participant
Posts: 437
Joined: Fri Oct 15, 2004 6:13 am
Location: Pune, India

Post by Kirtikumar »

This error is shown when the target decimal datatype has length less than string. E.g. if your string is 12345 having 5 chars and you are trying to store it in the decimal field with less than 5 length.

Whats the source and target col datatypes?
Regards,
S. Kirtikumar.
Post Reply