HP RPG/iX Utilities Reference Manual (30318-90006)

3-35
If you enter blank, the record numbering starts at 0 unless you are sorting a KSAM file built with Fir-
strec=1, in which case record numbering starts as 1.
If you enter "0", the record numbering starts at 0. This is true even if you are sorting a KSAM file built
with Firstrec=1.
If you enter "1", the record numbering starts at 1.
Column 8: In Place Sort Override
This entry tells XSORT whether or not you want to override the in place sort rule. Normally, XSORT
protects you from accidently, overlaying an existing file with the sort output, XSORTOUT. To do this, it
enforces the rule that XSORTOUT, if it already exists, must be the same file as XSORTIN, and this must
be an in place sort.
Your column entries determine whether or not you wish the rule to apply in the sort you are running.
Columns 10-16: Maximum Number of Records to be Sorted
Here you enter the maximum number of records to be sorted. Your entry can range from 1 to 9999999. If
omitted, this value defaults to the number of records in the input file. An entry here is required if this is a
multiple-file sort or if input is from a non-disk device. It is recommended that you specify this entry in
cases where you expect only a small subset of records to be selected for processing from a large input file.
This reduces the size of the SORT work file and results in more efficient use of disk space.
Columns 17-39
Columns 40-80
Comments
Columns 40-80 are reserved for your comments. You can use any characters you want to in these columns.
If your column 27 entry calls for the printing of specification lines, your comments here will be printed.
Your comments have no effect on your program.
Column 8
Entry
XSORTOUT File Already Exists XSORTOUT File Does Not Exist
N or blank XSORTOUT must be the same file as XSOR-
TIN. (This is an in place sort.) temporary file
New file will be created for XSORTOUT. It
will be a job/session
Y XSORTOUT may be a different file than
XSORTIN. It will be overlaid by sort output
records.
New file will be created for XSORTOUT. It
will be a job/session