The following table summarizes control statement usage for Disk Sort, MAXSORT, and
PARASORT.
Table 1. Control Statement Usage for Disk Sort, MAXSORT, and PARASORT
Control Statement
|
Disk Sort
|
MAXSORT and PARASORT
|
ALTSEQ
|
Optional
|
Optional
|
DUPKEYS
|
Optional; not applicable to copy
|
Optional
|
END
|
Required if exits included in input stream
|
Required for MAXSORT if exits included in input stream; optional for
PARASORT
|
INCLUDE/OMIT
|
Optional
|
Optional
|
INREC
|
Optional
|
Optional
|
JOIN
|
Optional
|
Not supported
|
JOINKEYS
|
Optional
|
Not supported
|
MERGE
|
Required for merge or copy
|
Not applicable
|
MODS
|
Required for exits
|
Required for exits
|
OUTFIL
|
Required for multiple output or reports
|
Optional
|
OUTREC
|
Optional
|
Optional
|
RECORD
|
Conditionally required
|
Conditionally required
|
REFORMAT
|
Optional
|
Not supported
|
SORT
|
Required for sort or copy
|
Required for sort; copy not supported
|
SUM
|
Optional; not applicable to copy
|
Optional
|
|