Posted: Wed Mar 25, 2026 9:59 am Post subject: Calculating Count and Sum after match merge
Hi,
My requirement is to join two files and find count, get Sum of the fields.
Please help me how can I achieve this using SYNCSORT.
File-1 is FB 80 bytes. Key is in 1-4 positions (4 bytes Number). Another field CITY is in 6-15 positions (10 bytes Character)
File-2 is FB 1000 bytes. Key is in 1-4 positions (4 bytes Number). Another field AMOUNT is in 6-10 (5 bytes Character).
Both files are in sorted order.
File-1 normally has 1000 records, but File-2 has millions of records.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum