Warning while running the job

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
haivineetha
Participant
Posts: 9
Joined: Thu May 07, 2009 9:06 pm

Warning while running the job

Post by haivineetha »

I am getting the warning
"Unable to set output decimal field value from argument string '1078.72256' in function setOutputFieldAsDecimal() for field '6' in output dataset"

while runnig the job.The error is coming from a teradta source which is a befor dataset to a change capture stage.

PLease advide hw to resolve
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What are the data type, precision and scale setting for Field 6?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
haivineetha
Participant
Posts: 9
Joined: Thu May 07, 2009 9:06 pm

Post by haivineetha »

In datastage the column is an integer with precision 10
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Try using a DecimalToDecimal() conversion.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
haivineetha
Participant
Posts: 9
Joined: Thu May 07, 2009 9:06 pm

Post by haivineetha »

It diidnt helped.. still warning is there.. :(
haivineetha
Participant
Posts: 9
Joined: Thu May 07, 2009 9:06 pm

Post by haivineetha »

Will this be an an environmental issue,since this job is running perfectly in prod.If yes,Please provide the solution
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Can't do that, as we don't have access to your environments. YOU do the comparison of environments, and let us know. Pay particular attention to the environment variables that affect the behaviour of decimal data types, though the difference may be elsewhere.
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