EGL reports overview

EGL can produce reports based on the JasperReports open-source, Java-based reporting library. For details on that library, see the following Web site:

http://jasperreports.sourceforge.net

EGL does not provide a mechanism for report layout. You must do this:
The EGL report driver (which you write to drive report production) identifies the JasperReports design file (extension jasper) and relies on that design file for a number of formatting definitions:

At run time, your EGL report driver sets up basic parameters, then hands control to the JasperReports engine. The JasperReports engine creates an intermediate file called the destination file (extension jrprint) and fills this file with report data. Based on the specifications in your driver file, the JasperReports engine then formats the report data for one or more exported files. Exported file formats can be .pdf, .html, .xml, .txt, and/or .csv.

If you also code an EGL handler of type JasperReport, the finished report can reflect events that occurred as your EGL report driver filled the report with data. For example, you can produce dynamic report content by comparing report subtotals with outside information like commission structures or insurance reimbursements.

When you write EGL code that interacts with a report, you do these things:

Related concepts
EGL report creation process overview

Related tasks
Creating the report design file
Creating subreports

Related reference
EGL library ReportLib
EGL report handler

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.