aggregator question

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
dnat
Participant
Posts: 200
Joined: Thu Sep 06, 2007 2:06 am

aggregator question

Post by dnat »

Hi,

I have a input stage and pass it to aggregator stage and insert the count in sequential file

If i have 0 records in the file i want to update the count as 0. But it is updating the file with Null..

Is there a way to do that?
abhijain
Participant
Posts: 88
Joined: Wed Jun 13, 2007 1:10 pm
Location: India

Post by abhijain »

There is a sub property for the aggregrator stage under Option tab-- "Allow Null Output". Set it False.

Here is the details of the property...

If it is set to True means that NULL is a valid output value when calculating minimum value, maximum value, mean value, standard deviation, standard error, sum, sum of weights, and variance. False means 0 is output when all input values for calculation column are NULL.
Rgrds,
Abhi
Post Reply