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

6-: 7
The Header Specification is used to specify these common compile-time and
run-time options:
* Where to write the run-time Error Dump
* Whether the RPG DEBUG facility is used
* What search method to use for tables and arrays
* How DSPLY and DSPLM work
* Whether or not to print a Cross-Reference listing
* How to handle run-time error messages
For a complete list of the Header Specification options, see the
HP RPG
Reference Manual
.
Figure 6-8 shows how to change the defaults for the options listed above.
Figure 6-8. Using the Header Specification to Change Compiler Defaults
Comments
1 Columns 7-14 contain the name of the disc file, DUMPRPG, that
contains the run-time Error Dump.
Column 15 contains 1 to enable the RPG DEBUG facility. (For
information on DEBUG, see "Using RPG DEBUG" in Chapter 7.)
Column 34 is B to specify that tables and arrays are searched in
a binary fashion.
Column 48 is D to display literals for DSPLY and DSPLM and to
prompt for user input on the same line as the literals.
Column 52 contains X to print a Cross-Reference listing.
Column 55 contains N to suppress run-time error messages for the
errors having responses entered in columns 56-71.
Column 58 contains 5 to terminate the program when a run-time
input file sequence error occurs. An Error Dump is also
printed.