COBOL Manual for TNS/E Programs (H06.03+)
Libraries and Utility Routines
HP COBOL Manual for TNS/E Programs—520347-003
13-33
COBOL_SET_SORT_PARAM_TEXT_
param-text
is the identifier of an alphanumeric data item whose contents is used for the
parameter specified by param-id. If this parameter is omitted, any text previously
set for this value of param-id is reset to its default value.
The value of param-text depends on the value of param-id and sometimes
on the value of subsort-number (see Table 13-11).
subsort-number
is a numeric operand whose value specifies the sort process to which the
parameter pertains. The number of subsorts must have been set previously, and
the specified subsort-number must be in the range 0 to that number.
The value of subsort-number depends on the value of param-id
(seeTable 13-11).
return-code
is an identifier of a numeric data item in which an error value will be returned. The
expected values and their respective meanings are:
Value Meaning
0 The call was correct.
1 file-name does not name a sort-merge file.
2 param-id is not one of the allowed values.
3 param-text does not conform to the expected values.
4 subsort-number was not within the range of the specified number of
subsorts.
5 Space for the options block cannot be allocated.










