FastSort Manual

Using FastSort Commands
FastSort Manual429834-003
3-27
SUBSORT Command
CPU processor
specifies the processor number for the subsort process. Because each subsort
process is a separate SORTPROG process, you can run each process in a
different processor. The default is the same processor in which the primary disk
process for the scratch volume runs.
MEM memory
exists only for compatibility with earlier sort-merge code. MEM specifies the
number of memory pages allocated for the SORTPROG process. The size is
always 64 pages. If you specify a value between 1 and 64 for MEM, FastSort
ignores the value. If you specify an invalid value, FastSort returns an error
message and does not start the sort or merge run.
PRI priority
specifies the priority assigned to the SORTPROG process. The default is the same
priority as the SORT process.
SEGMENT size
specifies the size in pages of an extended memory segment for the subsort
process to use. The number of pages must be at least 256 but cannot exceed 90
percent of the processor’s physical memory not locked down by the operating
system. This value overrides the AUTOMATIC, SEGMENT, MINSPACE, and
MINTIME parameters of the RUN command.
PROGRAM file
specifies a program file to run for the subsort process instead of
$SYSTEM.SYSnn.SORTPROG.
SWAP file
specifies the name, including volume and subvolume, of the swap file for the
extended memory segment. This swap file must be on the local node. If you omit
the SWAP parameter, FastSort allocates a temporary swap file depending on
whether the scratch file is local or remote:
Examples
FROM INFILE
TO OUTFILE
ASC 1:10
SUBSORT $MOLD.SORT.SCRATCH, CPU 3, SEGMENT 128
SUBSORT $DP2.SORT.SCRATCH, CPU 4, SEGMENT 128
Scratch File Location of Swap File
Local Same disk as initial scratch file
Remote Disk where the SORTPROG program file is running