FastSort Manual

Using FastSort Commands
FastSort Manual429834-003
3-28
TO Command
SUBSORT $RAT.SORT.SCRATCH, CPU 5, SEGMENT 128
RUN, CPU 0, AUTOMATIC
TO Command
Use the TO command to specify an output file for the sort or merge run and the
following options for the run:
The exclusion mode for the output file
The type of the output file
The percentage of data slack and index slack for the file
Whether or not FastSort should purge and re-create an existing output file
The type of sort or merge run: record, permutation, key, or a combination key and
permutation
out-file
is the name of the file to which FastSort writes the output records. If you omit the
out-file parameter, the output goes to the file named in the list-file
parameter of the command to start the FastSort process. If you do not specify
out-file or list-file, the output goes to the home terminal for the FastSort
process.
FastSort can send output to key-sequenced files, but not to an EDIT (file code 101)
file. For more information about supported file types, see Appendix C, Using
Supported File Types.
EXCL[USION] mode
specifies the exclusion mode that FastSort uses to open the output file. The
exclusion mode can be SHARED, PROTECTED, or EXCLUSIVE.
SHARED
specifies that FastSort does not lock the output file. Other processes can write
to the output file at the same time FastSort is writing its output. Thus, the final
output file might not be in sorted order.
TO [ out-file ] [ , EXCL[USION] mode ]
[ , KEYS ]
[ , PERMUTATION ]
[ , TYPE file-type ]
[ , NOPURGE ]
[ , SLACK percentage ]
[ , DSLACK percentage ]
[ , ISLACK percentage ]