Transformer warning

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
DINAKAR
Participant
Posts: 8
Joined: Fri Aug 08, 2008 11:45 am
Location: pune

Transformer warning

Post by DINAKAR »

Hello all,


I am getting following warning in my job,

transform,3: Conversion error calling conversion routine decimal_from_string data may have been lost [transform/tfmop_functions.C:147]


My job flow is like

ip dataset->transfrom->op dataset


I have nearly 1000 derivations in transformer, not sure for which field warning is coming is there any way to figure it out.... In this warning no colun name mentioned, appreciate your response...
Obuli
Participant
Posts: 4
Joined: Fri Jul 17, 2009 1:45 pm
Location: Chennai

Re: Transformer warning

Post by Obuli »

DINAKAR wrote:Hello all,


I am getting following warning in my job,

transform,3: Conversion error calling conversion routine decimal_from_string data may have been lost [transform/tfmop_functions.C:147]


My job flow is like

ip dataset->transfrom->op dataset


I have nearly 1000 derivations in transformer, not sure for which field warning is coming is there any way to figure it out.... In this warning no colun name mentioned, appreciate your response...
You are trying to convert the datatype from string to decimal without using conversion function. Try to figure out which column you are converting from string to decimal and use the conersion function StringToDecimal(columnname)

Obuli
arnabdey
Participant
Posts: 50
Joined: Wed Jan 10, 2007 5:56 am

Post by arnabdey »

use the StringToDecimal(...) function
Arnab
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

Sometimes if you are doing the right way they give warnings.

Regards
Sreeni
larzmcelroy
Participant
Posts: 17
Joined: Tue May 29, 2007 8:58 am
Location: Omaha, Nebraska

Post by larzmcelroy »

perhaps [transform/tfmop_functions.C:147] is pointing to the actual column within the transform.
Larz McElroy - Lead DW Developer
Post Reply