Multiple output lines are created by specifying a new line character, i.e. / (slash), in the OUTREC parameter of an OUTFIL control statement. As shown in the figure Figure 2, the new line character follows the specification of each input field’s starting position and length.
Once MFX has printed the data in the COMPANY NAME field, it starts a new output line, prints on it the data in the next field, CUSTOMER NAME, starts a new line, and so forth. After printing the contents of the last field (CITY, STATE AND ZIP), MFX creates two new lines (2/).
The figure Sample Multiline Output provides an excerpt from the output file where the input record is formatted on multiple lines. A blank line appears in the second and third set of multiline output because the corresponding input record fields (i.e. CUSTOMER TITLE and CUSTOMER NAME) were blank.