Cumulative Sum Calculation Solve with steps in Datastage

0
57
————————–
10, 1000
20, 2000
30, 3000
40, 5000Display as
employee_id, salary, cumulative_sum
———————————–
10, 1000, 1000
20, 2000, 3000
30, 3000, 6000
40, 5000, 11000

* You can have single stage variable svSum with initial value = 0.
* And keep the derivation as svSum = svSum + Salary

SHARE
Previous articleSerialization
Next articleWhat is Hadoop