The following DD statements are required for all uses of MFJSORT:
- SYSIN
- For the data set that contains the program control statements. It can be an in-stream data set.
- SYSPRINT
- For the output listing data set. It must have an LRECL value of at least 132.
- SORTIN
- For the input data sets. You can concatenate up to 16 data sets for
SORTIN. It is not required if you use
SORTINnn
- SORTOUT
- For the output data set. It is not required if you use
SORTOFnn.
The following DD statements are optional:
- IGZSRTCD
- A data set which can contain additional SORT control statements to be executed in tandem with a COBOL SORT.
Note: The SORT, MERGE, RECORD, and END statements are not permitted to be used in the IGZSRTCD data set.
- SORTINnn
- For multiple input data sets.
nn begins with 01 and increases by 1 up to a maximum of 16.
SORTINnn and
SORTIN are mutually exclusive.
- SORTOF
nn
- For multiple output data sets.
nn begins with 01 and increases by 1 up to a maximum of 16.
SORTOFnn is used by the
OUTFIL statement.