RPG/400 Help

DUMP (Program Dump)

*---------*---------------*-----------------*----------------*---------------*
|   CODE  |    FACTOR 1   |     FACTOR 2    |     RESULT     |  INDICATORS   |
|         |               |                 |      FIELD     |               |
*---------*---------------*-----------------*----------------*---------------*
| DUMP    | Identifier    |                 |                |               |
*---------*---------------*-----------------*----------------*---------------*

The DUMP operation provides a dump (all fields, all files, indicators, data structures, arrays, and tables defined) of the program. It can be used independently of or in combination with the OS/400 testing and debugging functions.

The contents of factor 1 identify the DUMP operation. It must contain a character entry that can be one of: a field name, literal, named constant, table name, or array element whose contents identify the dump. Factor 1 cannot contain a figurative constant.

The program continues processing the next calculation statement following the DUMP operation.

The DUMP operation is performed only if a 1 is specified in position 15 of the control specification. If the control specification entry is not made, the DUMP operation is checked for errors and the statement is printed on the listing, but the DUMP operation is not processed.

If you have specified a POST operation code, with factor 1 blank, anywhere in your program, no file information data structures (INFDS) are updated until you do an appropriate POST operation. For up-to-date information, do a POST operation for each file before you do the DUMP operation. (This action is not required for a dump that the system does in response to an inquiry message.)


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