COBOL Manual for TNS/E Programs (H06.03+)
Libraries and Utility Routines
HP COBOL Manual for TNS/E Programs—520347-003
13-45
COBOL_SET_SORT_PARAM_VALUE_
°
SECOND-BUFFER
specifies whether FastSort must use a second buffer.
subsort-or-file-number must not be specified or must be 0.
°
SEGMENT
specifies the size of the extended memory area, in pages.
If subsort-or-file-number is specified, SEGMENT applies to the
indicated subsort.
If subsort-or-file-number is 0, SEGMENT applies to the
distributor/collector process.
If the param-value associated with SUBSORT-COUNT is 0 or not specified,
SEGMENT applies to the normal sort, and subsort-or-file-number must
be omitted or 0.
Allowable Value for
param-value Meaning
0 (default) FastSort does not use a second buffer.
nonzero FastSort uses a second buffer, which is allocated in user
data space.
SECOND-BUFFER is ignored under any of these conditions:
•
There is not enough space for a second buffer.
•
NOWAIT-IO is not specified.
•
The operation is a merge and none of the USING files
are magnetic tape files.
Allowable Value for
param-value Meaning
-1 (default) Segment size is controlled by the MINSPACE and MINTIME
parameters. The size cannot be more than 90% of the
processor’s physical memory not locked down by the
NonStop operating system.
64 - 8192(16 MB) Size of the extended memory area, in pages.










