COBOL Manual for TNS and TNS/R Programs
Libraries and Utility Routines
HP COBOL Manual for TNS and TNS/R Programs—522555-006
13-65
COBOL85^SET^SORT^PARAM^VALUE and
COBOL_SET_SORT_PARAM_VALUE_
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.
°
SUBSORT-COUNT
specifies the number of parallel sorts that FastSort is to use to improve 
performance.
subsort-or-file-number must not be specified or must be 0. An error 
occurs if SUBSORT-COUNT has the value 1.
°
SYSTEM
specifies the system on which the sorting is to occur.
A value other than -1 specifies that a particular other system will be used 
(which may result in very poor performance).
subsort-or-file-number must not be specified or must be 0.
If the param-value associated with SUBSORT-COUNT is greater than 1, 
SYSTEM is ignored (the current system is used). 
Allowable Value for 
param-value Meaning
0 (default) FastSort uses normal, non-parallel sort.
2 - 8 FastSort uses parallel sort, and the value of param-value 
is the number of processes to be used. (A parallel sort 
might be faster, but it uses more system resources. In a 
busy system, this might cause an overall loss in system 
throughput.)
Allowable Value for 
param-value Meaning
-1 (default) Sorting occurs on the current system.
valid system number Sorting occurs on the system specified by param-value.










