Page 1 of 1

Syncsort cumulative sum of a field

PostPosted: Tue Oct 07, 2008 5:38 pm
by raj123
Hi all

My requirement is, I have an input file with following details

1 10
2 21
3 15
4 02

My desired output is

1 10
2 31 --> 31(10+21)
3 46 --> 46(10+21+15)
4 48 --> 48(10+21+15+02)

Can anyone help me?

Regards,
Rajesh.