The C$SORT library routine sorts indexed, relative, sequential and line sequential files. It takes only one parameter that matches with the instructions you would pass to the ISSORT (External Sort) utility on the command line.
Refer to ISSORT (External Sort) documentation for details about the allowed syntax.returnCode can be any numeric data item and provides additional information:
Example - Sort the indexed file named idxfile by reading records on the primary key in descending order, discard records whose data at offset 37 length 4 bytes represents a numeric value less than 902. Save the result to a line sequential file named output.txt.
| Copyright (c) 2017 Veryant |
| Contact us |
|
Please share your comments on this manual or on any Veryant product documentation with the email button at the top left |