The OUTREC parameter indicates how the records are to be formatted in each output file. (BUILD is an alias for OUTREC.) This parameter lets you create multiple output files which contain differently formatted records.
When the records in all multiple output files are formatted and edited identically, it is more efficient to specify a single OUTREC control statement rather than several OUTREC parameters.
The OUTREC parameter reformats the records that are to be included in the output file(s) after E35 processing, if specified. If no additional reformatting is required, omit this parameter.
All references to field positions specified in the OUTREC parameter refer to the record after processing by an E15 exit, the INREC control statement, the OUTREC control statement, and an E35 exit but before insertion of ANSI control characters.
[n]/ |
The / subparameter indicates the end of a line and can be used to create multiple output lines from a single input record. Multiple slashes (coded//.../ or n/) can be used to specify leading, trailing, or embedded blank lines. At the beginning or end of the OUTREC parameter, n/ produces n blank lines. Embedded within the OUTREC parameter, n/ produces n-1 blank lines. The / subparameter is most useful for its ability to accommodate records whose lengths exceed the width of the physical page. For an example of the / subparameter, see Printing Input Records on Multiple Output Lines. The / subparameter may not be used when LINES=ANSI or LINES=(ANSI,n) has also been specified on the OUTFIL control statement. |