Eliminating Irrelevant Data Field(s) - 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

Example: For an inventory list, the price code on the masterfile records is not necessary. (The masterfile record layout is given in the figure Figure 1.)

Figure 1. INPUT Record Layout

To eliminate the Price Code field and generate the inventory list, the following is coded.

Figure 2. JCL and Required Control Statements

The figure Post-INREC Record Layout shows the input record after INREC processing.

Figure 3. Post-INREC Record Layout

Explanation: Specifying only those fields that are necessary eliminates those that are not necessary for the application. The Price Code field (18,1) has not been specified on the INREC statement; it will be deleted from the input records before the records are sorted by item number for the list.