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
Language
English
Content type
Programmer’s Guide
Product name
Syncsort™ MFX
Title
Syncsort™ MFX Programmers Guide
Copyright
2024
First publish date
2010
Last updated
2024-11-06
Published on
2024-11-06T17:38:26.716054

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.