The following figure illustrates the sequence in which MFX control statements and parameters are processed. It includes those control statements and parameters that modify the input file (e.g., INCLUDE/OMIT), reposition record fields (e.g., INREC, OUTREC), and create reports (e.g., OUTFIL).
When specifying record fields on any of these MFX control statements or parameters, refer to the record as it appears at that stage of MFX processing. For example, when specifying SORT fields be sure to take into account any repositioning of fields that may be due to INREC processing.
Figure 1. Data Utility Processing Sequence