Hi,
My requirement is sumup the values based on the key fields. when i do that i am getting only one record which gives me the summed up value for each key field but i want like,
Importantly : I should not do SORT, just copy.
I/P:
1234510
1234520
1234640
1234640
1234613
1234110
O/P:
1234510
1234520
1234530
1234640
1234640
1234613
1234693
1234110
1234110
My SYSIN Card is,
SORT FILEDS = (1,5,CH,A)
SUM FIELDS = (6,2,ZD)
Note : Here i could mention fields only with SORT. i am not sure about using Fields with OPTION COPY statements. My objectives are two
1. Do not Sort the records.
2. I want all the individual records and the sum value should be added after each key records finished.
Please help me out.