Exercise 8:Compiling the Report [ HP ALLBASE/BRW Tutorial ] MPE/iX 5.0 Documentation
HP ALLBASE/BRW Tutorial
Exercise 8:Compiling the Report
In this exercise you will compile the report specification file to
produce a report execution file. This exercise takes 10 minutes.
You compile the report specification file, in combination with a
selection set, to produce the report execution file. Compilation of a
report is fully described in the HP ALLBASE/BRW Reference Manual.
You will need to compile the report twice, once with the selection set
DIRECTORS, and once with the selection set SALES-MANAGERS.
Compile the report
1. Go to the Compile Report screen.
2. Type DIRECTORS in the Report Selection Set field.
3. Type DIRECTRS.BRWEXEC in the Report Execution File field.
4. Press Enter.
BRW compiles the report.
When the compilation is finished, the screen display should be
similar to the following example:
The message "Report compiled" tells you that the compile was successful.
You can read the compilation listing from the screen.
NOTE Look the warning for parameter AREA. This parameter is not defined
in the selection set, and so BRW will use NO_VALUE whenever it is
used in the report. As this parameter is not used when the report
is compiled with selection set DIRECTORS, this warning can be
disregarded.
Print the compilation listing for directors
The compilation listing tells you how the data was accessed (under DATA
ACCESS STRUCTURE).
You will need the compilation listing later in this lesson to show the
improvements when using keyed access.
1. Choose Print Complist.
BRW then prompts for the print device, as shown in this example:
2. Press Enter to send the compilation listing to the line printer.
(Or, type in a new device name and press Enter if you want to
print to another device.)
Compile the report for sales managers
1. Type SALES-MANAGERS in the Selection Set field.
2. Type SALESMAN.BRWEXEC in the Report Execution File field.
3. Press Enter.
The message "Report compiled" tells you that the compile was
successful. There is no warning this time: parameter AREA, used
in the report, is also defined in the selection set.
4. Choose Exit to return to the Select Report screen.
MPE/iX 5.0 Documentation