Ch 3. Header Specifications [ HP RPG/iX Reference Manual ] MPE/iX 5.0 Documentation
HP RPG/iX Reference Manual
Chapter 3 Header Specifications
The Header Specification is the first specification in a program. (If
you do not enter a Header Specification, the compiler warns you in the
compiler listing and uses the default values shown in the section "The
Header Specification Default Summary"). The only statements which can
precede the Header Specification are comment lines and the $COPY and
$CONTROL compiler subsystem commands.
The Header Specification lets you:
* Enable the RPG DEBUG feature.
* Specify where to get the initial values for USWITCH and UDATE.
* Use a collating sequence other than the ASCII Collating Sequence
during certain compare operations.
* Translate input files from one code to another (for instance,
EBCDIC to ASCII) before and after processing.
* Allow non-numeric data in numeric fields.
* Allow compatibility with other implementations of RPG.
* Print a Cross-Reference listing.
The Header Specification is identified by an H in column 6:
___________________________________________________________________________________
| |
| 1 2 3 4 5 6 7 |
| 678901234567890123456789012345678901234567890123456789012345678901234|
| _______________________________________________________ |
| |
| H |
| |
| |
___________________________________________________________________________________
Figure 3-1. The Header Specification
MPE/iX 5.0 Documentation