Requesting Reports with BRWEXEC [ HP ALLBASE/BRW Reference Manual ] MPE/iX 5.0 Documentation
HP ALLBASE/BRW Reference Manual
Requesting Reports with BRWEXEC
With BRWEXEC, you can run a report successfully outside of HP
ALLBASE/BRW, even if the HP 3000 you use does not have HP ALLBASE/BRW
installed. The BRWEXE program is part of the MPE XL operating system and
is all you need to run a compiled HP ALLBASE/BRW report.
NOTE The version of the operating system on the HP 3000 on which the
report is to be run must be the same as, or later than, the version
on the HP 3000 on which the report was developed.
To request a report with BRWEXEC
1. Type this RUN command at the MPE prompt:
:RUN BRWEXEC.PUB.SYS
2. When you are prompted for an execution file name, type the
execution filename as shown in the underlined response below:
. . .
Configuration File opened is BRWC000.pub.sys
Execution File : filename
3. When the system prompts for parameters, enter the parameters in
this format.
item operator value
For example:
. . .
Configuration File opened is BRWC000.pub.sys
Execution File : filename
Parameters : CUSTOMER-NO = C7
You can enter multiple parameters. The parameters can be in any
order.
4. Press Return after entering each parameter.
5. To end parameter input, type // and press Return. For example:
. . .
Configuration File opened is BRWC000.pub.sys
Execution File : filename
Parameters : CUSTOMER-NO = C7
Parameters : SALES-AREA = WEST
//
You can specify different values for the report and override the default
values listed by entering new values. BRWEXEC makes sure that the value
you enter for each parameter is valid.
BRWEXEC does not prompt for individual parameters, unless the parameter
is defined on the Define Selection screen as R (required). You must know
which parameters are used in the report, and the type of each parameter
(single-value, list-of-values, or comparison predicate). The type
determines which operator is valid for that parameter.
The report executes immediately. All other details, for example the
output file name, number of copies, and destination, are taken from the
execution file's Selection Set. For more information about selection
definitions (Parameters and Selection Sets), see Chapter 9 .
MPE/iX 5.0 Documentation