HP 3000 Manuals

Integrating Reportswith Batch Processing [ HP ALLBASE/BRW Reference Manual ] MPE/iX 5.0 Documentation


HP ALLBASE/BRW Reference Manual

Integrating Reportswith Batch Processing 

HP ALLBASE/BRW reports can be integrated with other (non-HP BRW/XL) batch
programs.

For example:

   *   Batch programs can produce files that are used by HP ALLBASE/BRW
       reports.

   *   HP ALLBASE/BRW reports can produce dictionary output files that
       are used by batch programs.

Example 

In the following example, a job generates invoices for all orders that
have been shipped and then prints the invoices to be sent to the
customers.  This job uses the following:

The report CLOSE               Retrieves all orders with shipment dates for all order
                               details, and writes them to the file ORDFILE.PUB.

The batch program MAKEINV      Creates an invoice record for each order and writes the
                               record to the Invoices dataset and to the file
                               INVFILE.PUB.

The report PRINTINV            Prints the invoices to be sent to the customers.

The diagram below shows the flow of data to produce the final report for
this example:

[]
You can create a report job file to stream this sequence. See the "Using Report Job Files" section in Chapter 11 for more information about creating report job files.


MPE/iX 5.0 Documentation