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

6-: 3
Figure 6-1. A Source Program Before Compilation (Continued)
Comments
1 This $COPY subsystem command specifies that the preprocessor
utility (RPGCOPY.PUB.SYS) is used during compilation. RPGCOPY
processes $INCLUDE statements. $COPY must be the first
statement in the program.
2 This $CONTROL subsystem command contains the RSPACE option.
RSPACE directs the compiler to add 2 spaces between each output
field having relative end positions.
3 This $INCLUDE subsystem command directs the compiler to insert
source library text at this point in the program. The text
comes from the file, DACT1, in group SOURCE.
4 This line begins the specifications for the report headings.
5 This $INCLUDE command directs the compiler to insert source
library text at this point in the program. The text comes from
the file, DACT2, in group SOURCE.
Figure 6-2 lists the entries in the source library file, DACT1.
________________________________________________
| |
| IDACCOUNTNS 01 3 8 ACTNO|
| I 9 18 FNAME|
| I 19 34 LNAME|
| I 35 62 ADDR1|
| I 63 90 ADDR2|
| I 91 118 ADDR3|
| I 119 128 ZIPCD|
| I 129 134OPHONE|
| I 135 136OPHEXT|
| I 137 144 MAILC|
| I 145 148OBDATE|
| I 149 152 SRCCD|
| I 153 154 TYPEC|
| I 155 162 ADATE|
| |
________________________________________________