HP 3000 Manuals

Sets [ HP RPG/XL Utilities-Part 1 XSORT ] MPE/iX 5.0 Documentation


HP RPG/XL Utilities-Part 1 XSORT

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.



MPE/iX 5.0 Documentation