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

3-37
unconditionally.
Sets
The unique identification of a Record Type is made using sets of "include" and "omit" Record Type
Specifications. These sets may be used singly or intermixed to include or omit data records in the current
section according to their characteristics. (Multiple characteristics within a set must be tied together
using the AND operation.)
An Include set
defines the characteristics of a Record Type that is to be included (accepted) in the current section.
(Consecutive include sets must be tied together using the OR operation on the first line of the set.)
An Omit set
defines the characteristics of a Record Type that is to be omitted (rejected) from the current section.
(Consecutive omit sets must be tied together using the OR operation on the first line of the set.) Within a
section, include/omit sets are used in order of their appearance to evaluate the current input record. If the
record matches the characteristics defined for a set (Record Type), it is immediately "accepted" or
"rejected" for inclusion in the section, and so no more include/omit sets will be evaluated. If the record does
not match the set's characteristics, XSORT moves on to the next include/omit set for evaluation.
Additional information concerning record types, sets and sections and an example of how they are used
appear in Section 8. This information is primarily useful for advanced sorts. Typically, users are
concerned with simple identification of different Record Types for inclusion or omission.
Column Entries
The following table is an overview of column entries for record type specifications.
COLUMNS ENTRIES EXPLANATION
1-5 Any value Line number.
6* I
O
Include line.
Omit line
7A
O
Blank
*
AND line (these specifications continue the definition of the record which was
described on the previous line).
OR line (these specifications define a record different than the one described
on the previous line)
First line of a set of I or O Record Type lines.
Comment lines.
8C
P
U
Character equals 1 byte (8 bits) of data.
Packed decimal data.
Unpacked decimal data.
9-12 1-1000 The input record position in which the factor 1 field begins (blank if the field
is only one position long).
13-16* 1-1000 The input record position in which the factor 1 field ends.