Aggregator Stage error

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
kravids
Participant
Posts: 9
Joined: Tue Jan 19, 2010 2:33 pm

Aggregator Stage error

Post by kravids »

Hi,
Iam using aggregator stage for calculating amounts. In the output iam getting small difference. Below is the example

Input Output
12.34 12.32
99.99 99.97
78.23 78.21
Should i need to change any options so that i can get acurate result...
anbu
Premium Member
Premium Member
Posts: 596
Joined: Sat Feb 18, 2006 2:25 am
Location: india

Post by anbu »

What is your input and output field type and length?
You are the creator of your destiny - Swami Vivekananda
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Post by kris007 »

Usually, Aggregator Sum/Difference output is defaulted to Double ( datatype). Try changing it to Decimal and you should be good.
Kris

Where's the "Any" key?-Homer Simpson
Post Reply