COBOL Manual for TNS and TNS/R Programs

Libraries and Utility Routines
HP COBOL Manual for TNS and TNS/R Programs522555-006
13-56
COBOL85^SET^SORT^PARAM^VALUE and
COBOL_SET_SORT_PARAM_VALUE_
sd-name
is the COBOL name of a file defined in an SD entry. The specification of the
remaining parameter is applied to any subsequent SORT statements that refer to
this file name. If a subsequent call to a FastSort routine refers to the same file
name and to the same parameter, that call resets the specifications for any
subsequent sort operations that refer to the same file name. Certain parameters
can be reset to their default values, as indicated in the discussion of the
parameters below.
param-id
is an alphanumeric data item whose contents identify the parameter whose value is
to be set. The values param-id might contain are:
Any letter in the value can be either uppercase or lowercase.
If param-id, param-value, and subsort-or-file-number are all omitted,
the run-time routines reset all values and texts previously set for sd-name to their
default values. This option releases the option block (about 700 characters long),
so you may wish to use it if the SD will not be referenced again in this program.
param-value
is a numeric operand whose value gives the value to be used for the parameter
specified by param-id. If this parameter is omitted, any value previously set for
this value of param-id will be reset to its default value.
In the case where a value may be zero or nonzero, the nonzero value must be
greater than -2,147,483,648 and less than 2,147,483,648. If it is outside this range,
an arithmetic overflow will result when the ENTER statement executes.
The value of param-value depends on the value of param-id. See Usage
Considerations:.
BUFFER-SIZE MINSPACE SAVE-SCRATCH
CPU MINTIME SCRATCH-BLOCK
CREATE-NEW-OUTPUT NOPURGE-OUTPUT SCRATCH-CHECK
CREATE-NEW-SCRATCH NOWAIT-IO SECOND-BUFFER
DATA-SLACK OUT-FILE-EXCL SEGMENT
IN-FILE-COUNT OUT-FILE-FORMAT SUBSORT-COUNT
IN-FILE-EXCL PRIORITY OUT-FILE-EXCL
INDEX-SLACK REMOVE-DUPLICATES SYSTEM