Calculation

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
js_j
Participant
Posts: 12
Joined: Fri Aug 19, 2011 5:04 am
Location: India

Calculation

Post by js_j »

Hi,

I want to calculate the follows:

D= A-B-C .

where A = a+b
B=(e+r+t+p)
C=(t+y+p+u).

I have used aggregator for the B and C values.

kindly let me know.

thanks,
JJ.
peddakkagari
Participant
Posts: 26
Joined: Thu Aug 12, 2010 12:07 am

Re: Calculation

Post by peddakkagari »

Take three stage variables A,B,C
and calculate column D using the logic : D= A-B-C .

Or why can't you do the calculation directly as below
D=a+b-e-r-t-p-t-y-p-u
Post Reply