TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-179
SET DEFINE Command
•
The same set of DEFINE attributes can be configured for a generic process
through SCF. For the syntax, see the SCF Reference Manual for the Kernel
Subsystem.
Creating a SORT DEFINE
Table 8-4 describes the attributes that apply to the FastSort subsystem, and the values
available for those attributes. See the FastSort Manual for a full description of the
effects of these attributes. All SORT attributes (other than CLASS) are optional.
FastSort always checks for the presence of a DEFINE named =_SORT_DEFAULTS. If
this DEFINE exists and is of CLASS SORT, FastSort reads the attributes from the
DEFINE and uses them to set the sort parameters. =_SORT_DEFAULTS is reserved
for use as the default SORT DEFINE name.
Table 8-4. SORT DEFINE Attributes (page1of3)
Name and Value Function
BLOCK size Specifies the size, in bytes, of input and
output blocks for a SORTPROG scratch file
It can be any multiple of 512 up to 30 KB
and it must be large enough to accept the
largest input record, rounded up to the
nearest even byte, plus 14 bytes overhead.
The default is 16 KB.
CPU cpu-num Specifies the number, in the range from 0
through 15, of the processor in which to run
a SORTPROG process
The default is the same CPU in which
FastSort is running.
CPUS
{ ( cpu-num [ , cpu-num ] ... ) | ALL }
Specifies CPU numbers, in the range from
0 through 15, of processors available for
use by subsorts
ALL specifies all processors are available.
MODE
{ AUTOMATIC | MINSPACE | MINTIME }
Specifies FastSort control mode
AUTOMATIC Minimizes elapsed time by using not more
than 50% (90% in parallel sorting) of
memory not appropriated by the operating
system
For files up to 100 KB, FastSort uses an
extended memory segment of 64 pages
and makes no merge pass; for larger files,
FastSort uses enough memory to make
only one merge pass.