FastSort Manual

Using FastSort Commands
FastSort Manual429834-003
3-21
RUN Command
MINSPACE
limits the size of the extended memory segment to 256 pages (512 KB). FastSort
makes no merge pass or only one merge pass if the file size is equal to or less
than 100 KB.
The file size is the maximum number of records in all input files times the
maximum record length for the output file (see the FROM Command on
page 3-14). For more information, see Controlling Extended Memory on page 2-11
for details about how file size affects the number of merge passes.
If you specify AUTOMATIC, do not specify MINTIME, MINSPACE, or SEGMENT in
the same RUN command. If you specify one of these parameters with
AUTOMATIC, FastSort ignores the parameter and returns a warning message.
If you specify MINSPACE for a distributor-collector process for parallel sorting, all
of the subsort processes use MINSPACE, unless you override it with the
SEGMENT parameter of the SUBSORT command or a SUBSORT DEFINE.
MINTIME
directs FastSort to minimize elapsed time by using at most 70 percent of the
processor’s physical memory not locked down by the operating system. For files
equal to or smaller than 200 KB, FastSort uses 256 pages for an extended
memory segment or attempts to use enough memory to avoid an intermediate
merge pass. For larger files, FastSort tries to use enough memory to make no
more than one intermediate merge pass.
The file size is the maximum number of records in all input files times the
maximum record length for the output file. (For more information, see FROM
Command on page 3-14.) For more information for details about the amount of
memory required to make only one merge pass for different file sizes, see
Controlling Extended Memory on page 2-11.
If you specify AUTOMATIC, do not specify MINTIME, MINSPACE, or SEGMENT in
the same RUN command. If you specify one of these parameters with
AUTOMATIC, FastSort ignores the parameter and returns a warning message.
If you specify MINTIME for a distributor-collector process for parallel sorting, all of
the subsort processes use MINTIME, unless you override it with the SEGMENT
parameter of the SUBSORT command or a SORT DEFINE.
PRI priority
specifies a priority between 1 and 199 to assign to the SORTPROG process. The
default is the operating system default priority for a process.
{ REMOVEDUPS | REMD }
Removes any records having key-field values that are duplicates of those in a
previous output record. The statistics message at the end of the run reports the
number of duplicates removed. If you specify an alternate collating sequence,