Combining Records within a File - mfx - 3.1

Syncsort™ MFX Programmers Guide

Product type
Software
Portfolio
Integrate
Product family
Syncsort™ software
Product
Syncsort™ MFX > MFX
Version
3.1
ft:locale
en-US
Product name
Syncsort™ MFX
ft:title
Syncsort™ MFX Programmers Guide
Copyright
2024
First publish date
2010
ft:lastEdition
2025-02-20
ft:lastPublication
2025-02-20T09:24:15.574000

Sometimes you may want to shorten a file by consolidating records that have some information in common. For example, a company’s invoice file may contain more than one record for any customer to whom multiple invoices have been issued. In some applications it might then be feasible to consolidate such records – that is, to combine records with identical Customer Name and Address fields into a single record containing the sum of that customer’s charges and payments.

The SUM control statement allows you to combine records in this way. For SUM control statement syntax, see SUM Control Statement.