COBOL Manual for TNS/E Programs (H06.03+)
Libraries and Utility Routines
HP COBOL Manual for TNS/E Programs—520347-003
13-38
COBOL_SET_SORT_PARAM_VALUE_
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:
Usage Considerations:
•
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.
Value Meaning
0 The call was correct.
1The file-name does not name a sort-merge file.
2The param-id does not have one of the allowed values.
3The param-value is outside the allowed range.
4 If subsort-or-file-number is used to specify subsort-number, one of
these is true:
•
subsort-number was not within the range of the specified number of
subsorts.
•
subsort-number was required but not specified.
•
subsort-number was specified, was nonzero and a subsort-number
was not legal for this parameter.
If subsort-or-file-number is used to specify file-number, then
file-number is not within the range 1 through 32.
5 Space for the options block cannot be allocated.










