The FNAMES parameter connects the OUTFIL control statement with one or more output files. The files specified on this parameter, along with any specified on the FILES parameter, will constitute the ddnames to receive output for this OUTFIL specification.
ddname is a 1 to 8-character ddname that corresponds to a DD statement provided in the JCL.
If multiple output files have identical specifications (that is, identical record selection, record reformatting, and report writing specifications), the FNAMES and/or FILES parameter can connect the OUTFIL control statement with more than one DD statement. For example, FNAMES=(FILE1OUT,FILE2OUT,FILE3OUT) connects the OUTFIL control statement with the three listed DD statements. Such a set of output files is termed an OUTFIL group.
If multiple output files have different specifications, then each file is specified on a separate OUTFIL control statement with one FNAMES and/or FILES parameter on each control statement.
If a SORTOUT ddname is defined in the JCL and does not appear in any FILES or FNAMES specification, it will be written to without any OUTFIL processing. If an inline E35 exit has been specified, OUTFIL is ignored.
If neither a FILES nor FNAMES parameter is specified on an OUTFIL control statement, the default ddname of SORTOUT will be used. If a 4-byte ddname prefix is in effect, the default SORTOUT ddname will be ppppOUT, where pppp is the prefix.