FastSort Manual

Using FastSort Commands
FastSort Manual429834-003
3-10
CPUS Command
filename
is the name of the unstructured file to which COLLATEOUT writes the 256-byte
alternate collating sequence table. If filename already exists, FastSort purges it
and creates a new file with that name.
Example
COLLATEOUT ALTSEQ
CPUS Command
Use the CPUS command to specify a group of processors (CPUs) that FastSort can
use to run subsort processes for parallel sorting.
ALL
specifies that FastSort can use any processor. ALL is the default.
cpu-list
is a list of processor numbers, separated by commas.
If a SUBSORT statement does not specify a processor for the subsort process,
FastSort follows these steps to select the processor:
1. FastSort uses the processor that runs the primary disk process for the scratch file’s
volume, unless the NOTCPUS command specifies that processor.
2. Otherwise, FastSort uses any processor from the processor group, including all
processors you specified in the CPUS command and did not specify in the
NOTCPUS command. If you did not issue a CPUS or NOTCPUS command, the
group includes all processors on your system. When FastSort selects processors
for subsorts, it attempts to put each process in a different processor.
3. If FastSort cannot start the subsort process in a processor it chose, FastSort
selects another processor from the group and tries to start the process in the new
processor. However, FastSort does not attempt to use another processor for a
subsort process if the SUBSORT statement specifies a processor that is not
available.
Example
CPUS 1,4,5
CPUS [ ALL ]
[ cpu-list ]