HP RPG/XL Programmer's Guide (30318-90001)

7-: 8
Figure 7-9. Long Form of the File Information Display
The Error Dump
The Error Dump shows the contents of certain areas in memory when a
program terminates due to execution errors. For example, the Error Dump
shows fields and their contents and the settings of indicators.
Executable program code is not listed in the Error Dump.
You get the Error Dump automatically when file errors occur. Otherwise,
you must specifically request it. You should always request dumps for
production programs. The next four sections explain how to request an
Error Dump and the information it contains.
Creating an Error Dump File. It is usually more convenient to write the
Error Dump to a disc file rather than display it. Before executing the
program, create an empty disc file for the Error Dump.
The following operating system command creates the disc file, DUMPRPG,
that is in a format that can be used to save Error Dumps,