SUM DECIMAL VALUE USING SYNCSORT
Can someone help me with the following requirement? input file contains the following data
—-+—-1-
***********
 A 2.55
 B 2.56
 B 2.54
 A 7.52
 B 2.54
I want the output to contain the following A 10.07 B 7.64 I wish to do the above using syncsort SUM. I tried several following and got S0C7 SORT FIELDS=(2,1,CH,A) SUM FIELDS=(6,4,ZD) and even SORT FIELDS=(2,1,CH,A) SUM FIELDS=(6,4,PD)
“; ; ; ;
Log in or register to post comments