arrange them in ascending EBCDIC order according to specified sort
fields, and create a new file containing the sorted records. The format
of the
r------
fileid2
fileidl fileid2
is the file identifier (filename, filetype, filemode) of the
file containing the records to be sorted.
is the file identifier (filename, filetype, filemode) of the
new output file to contain the sorted records.
The
since
already exists, an error message is issued and the
not take place.
"xx
character position of a sort field within each input record and "yy" is
the ending character position. The leftmost pair of numbers denotes the
major sort field. The number of sort fields is limited to the number of
fields
total of 253 positions.
place with two passes of the input file. The first pass creates an
ordered pointer table in virtual storage. The second pass uses the
pointer table to read the input file in a random manner and write the
output file. Therefore, the size of storage and the size and number of
sort fields are the limiting factors in determining the number of
records that can be sorted at anyone time. An estimate of the maximum
number of records that can be sorted is:
14 + NC