FastSort Manual

Using SORT and SUBSORT DEFINEs
FastSort Manual429834-003
7-6
Setting SUBSORT DEFINE Attributes
PRI priority
specifies the priority for the subsort process. The range is 1 through 199. The
default is the operating system priority for the parent process.
SET DEFINE PRI 180
PROGRAM file-name
specifies a local or remote program file name to run for the subsort process in
place of the default program file, such as:
SET DEFINE PROGRAM $data.another.sortprog
SCRATCH file-name
specifies a disk file name or disk volume name for an initial scratch file for the
subsort process. Specify a unique scratch file for each subsort process. For
example:
SET DEFINE SCRATCH $data.temp1
If the file already exists, it must be unstructured. If the subsort scratch volume
becomes full, then either NOSCRATCHON or the SCRATCHON attribute of the
distributor-collector process determines the volume for another subsort scratch file.
If no values are specified for the SCRATCHON and NOSCRATCHON attributes,
then FastSort uses volume characteristics to select an overflow scratch volume.
For more information about scratch, see Managing Sort Workspace on page 9-1.
SEGMENT size
specifies the extended data segment size in pages for the subsort process. For
example:
SET DEFINE SEGMENT 256
The value must be at least 256 pages but must not represent more than 90 percent
of available memory. The default value is 256 pages.
SWAP file-name
is the name of a swap file for the subsort process. The value you specify must be a
local disk file or disk volume, such as:
SET DEFINE SWAP $data.temp4
If the file already exists, it must be unstructured. The default location for the swap
file depends on the location of the scratch file. If the scratch file is local, the swap
file is on the scratch volume. For remote scratch files, the default is the volume
where the program file is running.