COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
• 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.
MeaningAllowable Value for
param-value
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
-1
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.
Specifies a specific processor. If the param-value associated with
SUBSORT-COUNT is 0 or not specified the processor selected will be used
0 - maximum processor number
of the system
for the distributor/collector process. If subsort-or-file-number is
specified, it indicates which subsort will use the specified processor.
◦ CREATE-NEW-OUTPUT
specifies whether the output (GIVING) file is to be created anew or the existing output
file is to be used.
Meaning
Allowable Value for
param-value
If the output file exists and is large enough for the sort, the data is purged
from the file. If the file is too small, the file is purged and a new one is
created.
0 (default)
The file is purged and a new one is created.nonzero
subsort-or-file-number must not be specified or must be 0.
◦ CREATE-NEW-SCRATCH
specifies whether the scratch file is to be created anew or the existing scratch file is to
be used.
ZCOBDLL Routines 627










