TACL Reference Manual

UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual429513-018
8-184
SET DEFINE Command
Creating a SUBSORT DEFINE
Table 8-6 lists the attributes that apply to parallel sorts run under the FastSort
subsystem and the values available for those attributes. See the FastSort Manual for a
full description of the effects of these attributes. The only required attribute (other than
CLASS) is SCRATCH.
Table 8-6. SUBSORT DEFINE Attributes
Name and Value Function
BLOCK size Specifies the size, in bytes, of input and output blocks for a
subsort 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 the subsort process
The default is the same CPU in which the primary disk
process for the scratch file’s volume is running.
PRI priority Specifies the execution priority, in the range from 1 through
199, for the subsort process
See the RUN[D|V] Command
on page 8-156.
PROGRAM file-name Specifies a program file to be run in place of
$SYSTEM.SYSTEM.SORTPROG
SCRATCH file-name Specifies the name of a disk file for use as a sort work file
If the file already exists, it must be unstructured. A volume
name alone is acceptable. This attribute is required.
SEGMENT size Specifies the size, in pages, of an extended memory segment
for the subsort to use
It must be at least 64%, but not over 90% of the memory not
appropriated by the operating system. The default is 64
pages.
SWAP file-name Specifies a swap file for use by the extended memory
segment
If the file already exists, it must be unstructured. A volume
name alone is acceptable if it is on the local system. The
default is a temporary file on the same volume as the scratch
file, if that file is local, or a temporary file on $SYSTEM, if it is
not.