Exercise 10:Compiling the Report [ HP ALLBASE/BRW Tutorial ] MPE/iX 5.0 Documentation
HP ALLBASE/BRW Tutorial
Exercise 10:Compiling the Report
In this exercise you compile the report specification file to produce a
report execution file. This section also explains how errors are
indicated by compilation messages. This exercise takes 10 minutes.
As you compile the report, you must assign a name for the report
execution file. You can save the execution file in a different group,
for example, group BRWEXEC, and then the execution file can have the same
name as the specification file. You can assign a password to the
execution file if you wish. (If you save the execution file in the same
group as the specification file then you will have to give the execution
file a different name.)
Compile the report
1. Choose Compile Report at the Select Report screen.
BRW displays the Compile Report screen.
2. Type the name CUSTREP1.BRWEXEC in the Report Execution File field.
(If you are in an account with no BRWEXEC group, use the name of
an existing group in your account or give the execution file a
unique name within the current group--for instance, CUSTR1X.
3. Press Enter.
BRW compiles the report. When the compilation is finished, the
screen display should be similar to this next figure.
The message "Report compiled" tells you that the compile was
successful. If the compilation failed, print out the compilation
listing as explained in the next note. The compilation listing
will contain error messages about the processing.
4. When the report is compiled, choose Exit to return to the Select
Report screen.
NOTE Compilation Messages
You can read the compilation listing from the screen or print it
out by pressing the Print Complist function key. The compilation
listing tells you how the data was accessed under the heading DATA
ACCESS STRUCTURE. The HP ALLBASE/BRW Reference Manual discusses how
to use the compilation listing to improve the performance of
reports.
If the compilation failed, the compilation listing will also
include error messages.
MPE/iX 5.0 Documentation