HP 3000 Manuals

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


HP RPG/XL Utilities-Part 1 XSORT

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           | 5 |                       |  Data
          field portion     |---|-----------------------|  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        |        Data         |       Control  | Data  |
         |      | Field A        |                     |       Field B  |       |
         |------|----------------|---------------------|----------------|-------|

Your work record would look like this:

         |-------|----------|-----------|------|
         |   5   | Control  | Control   | Data |
         |       | Field A  | Field B   |      |
         |-------|----------|-----------|------|

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.



MPE/iX 5.0 Documentation