Sorting – rearranging data set records to produce a specific sequence.
Merging –combining up to 100 pre-sequenced data sets into one data set which has the same sequence.
Copying –reproducing a data set without going through the sorting process.
Sorting
Disk Sort, the standard sorting technique. Information in the Programmer’s Guide refers to the Disk Sort unless otherwise indicated.
MAXSORT, a maximum capacity sorting technique with an enhanced breakpoint/restart capability. MAXSORT can sort any collection of data - regardless of size - using a limited amount of disk space. MAXSORT is described in the MAXSORT section of this guide.
PARASORT, a sorting technique that significantly reduces elapsed time for sorts whose input is a multi-volume tape data set and/or concatenated tape data sets. PARASORT improves performance by using multiple tape drives in parallel. PARASORT is described in the PARASORT chapter of this guide.
The control statements and JCL information are read and analyzed and the operational parameters for the sort are established.
The input data is read into main storage and sorted.
If necessary, intermediate results are written to temporary storage devices.
The sorting process completes and the sorted data is written to the specified output device(s).
Merging
The control statements and JCL information are read and analyzed and the operational parameters for the merge are established.
The files are merged and the merged data is written to the specified output device(s).
Copying
The control statements and JCL information are read and analyzed and the operational parameters for the copy are established.
The copied file is written to the specified output device(s).