Download Print this page

HP 3000 Manual page 48

Mpe/ix computer systems, rpg/xl utilities
Hide thumbs Also See for 3000:

Advertisement

Unconditional Force
Your unconditional force does not represent a field present in the input records. You might wish to place a
5 in the first position of every output record. Using an unconditional force control field, you could tell
XSORT to place a 5 in the first available control field of the work record.
Control field portion
All other control fields would then follow the 5 that has been unconditionally forced. Assume the input
records are in this format.
Data
Control Field A
Your work record would look like this:
5
Control Field A
Forced control fields affect work and output records only. They do not change input records. The column
entries for columns 9-16, 17, 18, and 19 contain further information and examples concerning
specifications for using forced control fields.
Data Fields (D) Entry
Data fields are fields you want the program to include in the output records but not use in sorting those
records. The entry applies only to Record-out sorts. Within the Field Description lines of each Record Type
section, control field lines must be placed before data field lines. When your file contains more than one
Record Section:
• All Sections are not required to have the same number of data fields.
• Output data lengths do not have to be the same for all Sections. XSORT will place blanks to the right of
shorter records to equalize lengths up to the output record length defined in Header Specifications col-
umns 29-32.
Comment Lines (*) Entry
3-50
5
Data
Control Field B
Control Field B
Data portion
Data
Data

Advertisement

loading