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

7-: 2
have this information written to a disc file instead.
Figure 7-2 shows how to use DEBUG. To enable DEBUG, you must enter a 1 in
column 15 of the Header Specification. If you leave this column blank,
DEBUG statements in your program are ignored (treated as comments).
Figure 7-2. Using DEBUG
Comments
1 This Header Specification enables the DEBUG feature of RPG.
Column 15 is 1 to enable DEBUG.
2 This line defines the disc file that holds the DEBUG
information.
3 This line logs DEBUG information to a disc file.
Columns 18-27 contain a tag, M-1EXMPT, that identifies this
DEBUG operation data in the disc file.
Columns 28-32 specifies the DEBUG operation.
Columns 33-42 name the disc file, DEBUGFL, in which the DEBUG
data is saved.