RPG/400 Help

SETOF (Set Off)

*---------*---------------*-----------------*----------------*---------------*
|   CODE  |    FACTOR 1   |     FACTOR 2    |     RESULT     |  INDICATORS   |
|         |               |                 |      FIELD     |               |
*---------*---------------*-----------------*----------------*---------------*
| SETOF   |               |                 |                |    OF OF OF   |
*---------*---------------*-----------------*----------------*---------------*

The SETOF operation sets off any indicators specified in positions 54 through 59. You must specify at least one resulting indicator in positions 54 through 59. Entries of 1P and MR are not valid. Setting off L1 through L9 indicators does not automatically set off any lower control-level indicators.

Figure "SETON and SETOF Operations" illustrates the SETOF operation.


[ Top of Page | Previous Page | Next Page | Table of Contents ]