Conversion error calling conversion routine decimal_from_str

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
Hope
Participant
Posts: 97
Joined: Sun May 13, 2007 2:51 pm
Contact:

Conversion error calling conversion routine decimal_from_str

Post by Hope »

My Sourcedata is Varchar and Target data is Decimal. I am using stringtodecimal(col1) in the Transformer.I get the following warnings."Conversion error calling conversion routine decimal_from_string data may have been lost" .

Can anyone please help me how to get rid of this warning
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Source size? Target size? It is telling you that your source is 'bigger' than your target and so may lose data in the conversion.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Hope
Participant
Posts: 97
Joined: Sun May 13, 2007 2:51 pm
Contact:

Post by Hope »

My source length is bigger than Target.I have 241 columns. The datalength for all the columns is greater than target length.
Hope
Participant
Posts: 97
Joined: Sun May 13, 2007 2:51 pm
Contact:

Post by Hope »

My source length is bigger than Target.I have 241 columns. The datalength for all the columns is greater than target length.
Hope
Participant
Posts: 97
Joined: Sun May 13, 2007 2:51 pm
Contact:

Post by Hope »

My source length is bigger than Target.I have 241 columns. The datalength for all the columns is greater than target length.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

You cannot get rid of this warning altogether, but you can set up a job level or project level handler for the message and either deprecate it (turn it into an informational message) or remove it from the logs altogether.
Post Reply