COBOL Manual for TNS and TNS/R Programs
Libraries and Utility Routines
HP COBOL Manual for TNS and TNS/R Programs—522555-006
13-63
COBOL85^SET^SORT^PARAM^VALUE and
COBOL_SET_SORT_PARAM_VALUE_
°
REMOVE-DUPLICATES
specifies whether FastSort should remove records with duplicate keys during
the sort operation.
subsort-or-file-number must not be specified or must be 0.
°
SAVE-SCRATCH
specifies whether FastSort should save the scratch file after a sort run.
subsort-or-file-number must not be specified or must be 0.
°
SCRATCH-BLOCK
specifies the size of the input and output blocks for the scratch file.
See the FastSort Manual for a description of this parameter.
subsort-or-file-number must not be specified or must be 0.
Allowable Value for
param-value Meaning
0 (default) Duplicates are not to be removed.
nonzero FastSort must remove every record whose keys duplicate
those of a previous record.
Allowable Value
for param-value Meaning
0 (default) FastSort must purge the scratch file after the sort run.
nonzero FastSort must save the scratch file, if it has an explicit name
(provided by a call to COBOL85^SET^SORT^PARAM^TEXT
or COBOL_SET_SORT_PARAM_TEXT_ with the
SCRATCH-FILE parameter).
Allowable Value
for param-value Meaning
-1 (default) FastSort chooses a default block size depending on the type
of disk on which the scratch file resides.
Any multiple of
512 in the range
512 through
32768
Size of the input and output blocks for the scratch file