Progress
Report Builder
Deployment Guide
Running Multiple Reports in a Batch
You can run all the reports in the
rbsample.prl
report library as a batch job with the same set of parameters usingrbbatch.p
.To run the
rbbatch.p
procedure with therbsample.prl
report library, execute the following command:
Here is the
rbbatch.p
procedure:
The commented numbers correspond to the following step-by-step descriptions:
- Define variables for the report parameters. Note that you must specify each parameter for each report that you run, but that you can assign each parameter a default value for this procedure.
- Define report-list and report-count for the
_getname.p
output, and report-number to keep track of the reports.- Define input parameter for the library name.
- Run
_getname.p
to access all the reports in therbsample.prl
library.- Print all the reports in the library.
NOTE: If you are using the PRNTRB2 interface you must modify the procedure to run aderb\_prntrb2 and include the RB-STATUS-FILE parameter.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |