COBOL Manual for TNS and TNS/R Programs

Libraries and Utility Routines
HP COBOL Manual for TNS and TNS/R Programs522555-006
13-54
COBOL85^SET^SORT^PARAM^TEXT and
COBOL_SET_SORT_PARAM_TEXT_
Usage Consideration: In the Guardian environment, a CRE HP COBOL program can
call either COBOL85^SET^SORT^PARAM^TEXT (the COBOL-environment routine) or
COBOL_SET_SORT_PARAM_TEXT_ (the equivalent CRE routine). If it calls
COBOL85^SET^SORT^PARAM^TEXT, it actually calls
COBOL_SET_SORT_PARAM_TEXT_ indirectly.
SWAP-FILE File-system file name of the file to be used for the
extended memory swap file (must be on the local
system).
If the name is all spaces (the default value) or is
not specified, the swap file is created on the same
volume as the scratch file.
If the scratch file is not local, the swap file is
assigned on $SYSTEM.
If param-id is omitted (param-text and
subsort-number must also be omitted in this
case), all values and text previously set for sd-
name will be reset to their default values. This
option releases the option block (about 700
characters long), so you might want to use it if the
SD will not be referenced again in this program.
Unspecified or 0 If subsort-number is not specified or is 0, the
scratch file for the distributor/collector is implied.
If SUBSORT-COUNT is 0, the swap file for the
normal sort process in assigned.
Greater than 0 If SUBSORT-COUNT is greater than 0, the
subsort-number indicates the subsort to which the
swap file applies.
Table 13-17. Relationship Between param-id, subsort-number, and param-
text (page 2 of 2)
param-id subsort-number param-text