FastSort Manual

Sorting in Parallel
FastSort Manual429834-003
6-10
Using Multiple Copies of the SORTPROG Program
Using Multiple Copies of the SORTPROG Program
By default, each subsort process uses the SORTPROG program in the
$SYSTEM.SYSnn.SORTPROG file. To run a subsort process from another local disk
volume, follow these steps:
1. Duplicate the SORTPROG program to a file on the target local disk volume and
use the FUP LICENSE command to license it.
2. Use one of these parameters to specify the location of the file:
The PROGRAM parameter of the SUBSORT command
The process-start parameter of the SORTMERGESTART procedure
The PROGRAM attribute of a SUBSORT DEFINE
Specifying an Execution Priority
The default execution priority for a subsort process is the operating system’s default
priority for a process. You can specify a different priority by using one of the following
parameters:
The PRI parameter of the SUBSORT command
The process-start parameter of the SORTMERGESTART procedure
The PRI attribute of a SUBSORT DEFINE
Configuring a Distributor-Collector Process
You can configure a distributor-collector process in a RUN command or in a call to the
SORTMERGESTART procedure. For the best performance, follow as many of the
guidelines in this subsection as possible when you configure the distributor-collector
process:
In a different processor from any of the subsort processes
In the same processor as the primary disk process for the volume containing the
output file or an input file
In the processor that has the lightest load
You do not have to specify a scratch file or any other parameter for the distributor-
collector process. The default processor is the processor of the program calling
FastSort. If the default processor is heavily loaded or does not run the disk process for
an input or output file’s volume, you can specify another processor in the RUN
command.