This chapter assumes that you already know how to sort records and are ready to use the MFX Data Utility features for any or all of the following:
-
Selecting only those input records and data fields that are needed for an application.
-
Eliminating duplicate records.
-
Consolidating records into a single record that contains the sum of any numeric data fields.
-
Joining records.
-
Making output data printable and easy to read.
-
Writing a multi-sectioned report complete with headers and trailers.
-
Generating several output files and reports with a single pass of the sort.
-
E-mailing a report in PDF format.
The following examples show how you can accomplish these tasks with MFX. Each example is self-contained and provides coding instructions for both the required JCL and the necessary control statements. Use them as starting points for your own applications. For details of control statement syntax see MFX Control Statements.