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

2- 30
Column 28 only applies to Record-out sorts (SORTR). It indicates whether or not you want to drop control
fields from output records after they are sorted.
An X means drop them. Leaving Column 28 blank means keeping the control fields.
Reasons for Dropping Control Fields
If you are using an alternate collating sequence or opposite control fields you would probably drop the
control fields. In each case the control information is so altered during the sorting process that it is of no
use.
You can, however, output those fields in a meaningful form by describing them twice; once as control fields
and once as data fields. Since data fields are not involved in the sorting process, they are not changed by
the program.
Column 29-32: Output Record Length for Record-Out Sorts
Columns 29-32 apply to Record-out (SORTR) jobs only. The entry in these columns tells the program the
length of records in the final sorted file.
When control fields are not being dropped, the length must include both control and data field lengths.
Include only the data field lengths when the control fields are being dropped. (Note that the sum of your
control field and data field lengths should not exceed the maximum work record length limit of 1000 bytes.)
Calculating Output Record Length Fields
When you are dropping the control fields, total the lengths of the data fields included in the job for each
record section (see table on page 2-3). Select the largest total and enter the number in columns 29-32.
When you are not dropping the control fields, total the lengths of the data fields for each record section.
Select the largest total and sum this with the entry in columns 13-17 of the Header before entering into
columns 29-32.
Column 33-39
Reserved for future use.
Column 40-80: Job Description 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.