ILE RPG Programmer's Guide
You can code one or more DUMP operation codes in the calculations
of your source to obtain a ILE RPG formatted dump. A new QPPGMDMP spool
file is created whenever the DUMP operation occurs.
Note the following about the DUMP operation:
- To determine whether a DUMP operation will cause a formatted dump
to be produced, you must check the operation extender on the DUMP
operation, and the DEBUG keyword on the control specification. The
formatted dump will be produced if the (A) extender on the DUMP operation
is specified, or if the DEBUG keyword was specified with no parameter
or with a parameter of *DUMP or *YES. Otherwise,
the DUMP operation is checked for errors and the statement is printed
on the listing, but the DUMP is not processed.
- If the DUMP operation is conditioned, it occurs only if the condition
is met.
- If a DUMP operation is bypassed by a GOTO operation, the DUMP
operation does not occur.
[ Top of Page | Previous Page | Next Page | Contents |
Index ]