The functions of the most important DFSORT control statements can
be summarized briefly as follows:
- SORT
- Describes the fields for a sort application, or requests a copy
application.
- MERGE
- Describes the fields for a merge application, or requests a
copy application.
- OPTION
- Overrides installation defaults, or requests optional features
or a copy application.
- INCLUDE
- Describes the criteria to be used to include records before
they are sorted, copied or merged.
- OMIT
- Describes the criteria to be used to omit records before they
are sorted, copied or merged.
- INREC
- Describes how records are to be reformatted before they are
sorted, copied or merged.
- OUTREC
- Describes how records are to be reformatted after they are sorted,
copied or merged.
- SUM
- Describes how fields are to be summed after sorting or merging.
- OUTFIL
- Describes various types of processing to be performed for one
or more output data sets after sorting, copying or merging.
- JOINKEYS, JOIN, REFORMAT
- Describes a "joinkeys" application for joining two files on
one or more keys.
The functions of the less important DFSORT control statements can
be summarized briefly as follows:
- ALTSEQ
- Describes changes to the normal translation table.
- MODS
- Describes user exit routines.
- RECORD
- Supplies data set record type and length information when needed.
- DEBUG
- Requests diagnostic features.
- END
- Marks the end of the control statements.