COBOL Manual for TNS and TNS/R Programs

Libraries and Utility Routines
HP COBOL Manual for TNS and TNS/R Programs522555-006
13-58
COBOL85^SET^SORT^PARAM^VALUE and
COBOL_SET_SORT_PARAM_VALUE_
Value of param-value Depends on Value of param-id
The default for each param-value is the same as the default for its param-id.
For example, if you do not specify BUFFER-SIZE, you get the same result as you
do if you specify BUFFER-SIZE with no param-value : you get 8192.
°
BUFFER-SIZE
specifies the size of the buffer used for processing records when an input
procedure or an output procedure is specified.
The value of param-value must be greater than 4095 and less than 8193.
The default is 8192.
subsort-or-file-number must not be specified or must be 0.
°
CPU
specifies a processor in which the sort or subsort is to occur.
Allowable
Value for
param-value Meaning
-1 If the param-value associated with SUBSORT-COUNT is 0 or
has not been specified, the sort process selects a processor.
If the param-value associated with SUBSORT-COUNT is
greater than 1, the selection of a processor depends on subsort-
or-file-number:
If subsort-or-file-number is 0 or not specified, the
processor for the distributor/collector process will be the
same as that in which the run unit is executing.
If subsort-or-file-number is greater than 0, the sort
process will select a processor for the specified subsort
depending on CPU-MASK and NO-CPU-MASK.
0 - maximum
processor
number of the
system
Specifies a specific processor. If the param-value associated
with SUBSORT-COUNT is 0 or not specified the processor
selected will be used for the distributor/collector process. If
subsort-or-file-number is specified, it indicates which
subsort will use the specified processor.