FastSort Manual

Using FastSort System Procedures
FastSort Manual429834-003
5-28
SORTMERGESTART Procedure
If you use process-start, you must specify a value for each parameter in every
29-word entry. You can specify the default value for any parameter. The default
value for swap-file and sort-program is all blanks. The default value for the other
parameters is –1.
Table 5-2. Expanded NEWPROCESS Structure
Word Entity Description
0* Priority Assigns the priority of the SORTPROG process. If priority equals –1,
the default value, the SORTPROG process has the same priority as
the calling process.
1* Memory Specifies the maximum number of data pages the SORTPROG
process can use. SORTPROG always uses 64 for this value.
2* CPU Specifies the number of the processor (CPU) in which SORTPROG
runs. If CPU equals –1, the default value, SORTPROG runs in the
same processor as the calling process or, in parallel sorting, in a
processor that FastSort selects. You can specify a group of
processors for FastSort to select from by using the cpu-mask or
not-cpu-mask parameters or both in a call to SORTBUILDPARM.
3* System Specifies the number of the system in which SORTPROG runs. If
system equals –1, the default value, SORTPROG runs on the same
node as the calling process. See the LOCATESYSTEM procedure in
the Guardian Procedure Calls Reference Manual. FastSort does not
use this parameter for parallel sort runs.
4 Segment Specifies the size of the extended memory segment from 256 to
62,255 pages. If segment equals –1, the default value, segment size
is controlled by the MINTIME and MINSPACE flags of the flags
parameter. The size cannot be more than 90 percent of the
processor’s physical memory not locked down by the operating
system. To use this parameter, you must set flags.<6> to 1. The
segment size you specify overrides the MINSPACE or MINTIME flag.
To specify a segment size of greater than 32,767 you must set
flags2.<4> to 1.
5:16 Swap-file
[0:11]
Specifies the name of the swap file for the extended memory segment.
The swap file must be on the local node. If swap-file equals all blanks,
the default value, FastSort creates a temporary file on the same
volume as the scratch file if the scratch file is local. If not, FastSort
creates a temporary file on the volume where SORTPROG is running.
To use this parameter, you must set flags.<6> to 1.
17:28 Sort-
program
[0:11]
Specifies the name of a file that contains the SORTPROG program. If
sort-program equals all blanks, the default value, FastSort runs the
program in $SYSTEM.SYSnn.SORTPROG. To use this parameter,
you must set flags.<6>to 1.
* The process-start structure consists of words 0-3 of this NEWPROCESS structure.