DUMP Declaration

The DUMP declaration allows the display of the values of selected items during the execution of a program.

<dump declaration>

         ┌◄─────────────────────────── , ───────────────────────────┐
── DUMP ─┴─<file identifier>── ( ──<dump list>── ) ──<control part>─┴──┤

<dump list>

  ┌◄────────── , ──────────┐
──┴─┬─<simple variable>──┬─┴───────────────────────────────────────────┤
    ├─<array identifier>─┤
    └─<label identifier>─┘

The file identifier specifies the name of the file to which the displayed information is to be written, and the dump list specifies the items whose values are to be displayed. The following types of variables and arrays must not appear in the dump list:

  • Arrays with multiple dimensions

  • Character arrays

  • String variables

  • String arrays