Example: Personnel wants a printed copy of its updated masterfile as well as copies on disk and on tape.
To generate these three copies of the same file on different devices, the following is coded.
Explanation: Creating the three copies of the updated masterfile requires coding only one OUTFIL statement with a FILES parameter. The FILES parameter instructs MFX to look for multiple output files defined in the JCL and to send its output to the devices specified in the SORTOFxx statements. Thus, the output that has been sorted as specified on the SORT statement (1,40,CH,A) will be sent to the printer specified in the SORTOFPR statement, to the tape volume specified in the SORTOFTP statement, and to the disk data set specified in the SORTOFDS statement.