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.)
To eliminate the Price Code field and generate the inventory list, the following is coded.
The figure Post-INREC Record Layout shows the input record after INREC processing.
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.