COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

SCRATCH-CHECK
specifies whether FastSort must check the size of each named scratch file to see whether
it is large enough.
Meaning
Allowable Value for
param-value
FastSort must check scratch file size.0
FastSort must not check scratch file size.nonzero (default)
Nonzero is the default for HP COBOL—the default for the FastSort product by itself is 0).
subsort-or-file-number must not be specified or must be 0.
When the param-value associated with SUBSORT-COUNT is nonzero, each subsort
requires a scratch file. You must first call COBOL_SET_SORT_PARAM_TEXT_ once for
each subsort, specifying a param-id of SCRATCH-FILE, a param-text giving a name
for the scratch file (usually just a volume name), and a subsort-number.
SECOND-BUFFER
specifies whether FastSort must use a second buffer.
Meaning
Allowable Value for
param-value
FastSort does not use a second buffer.0 (default)
FastSort uses a second buffer, which is allocated in user data
space.SECOND-BUFFER is ignored under any of these conditions:
nonzero
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.
subsort-or-file-number must not be specified or must be 0.
SEGMENT
specifies the size of the extended memory area, in pages.
Meaning
Allowable Value for
param-value
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.
-1 (default)
Size of the extended memory area, in pages.64 - 8192(16 MB)
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.
632 Libraries and Utility Routines