richardschoen / ibmijasper

IBM i JasperReports Report Generation
5 stars 1 forks source link

Add parameter passing to the RREGEN command #1

Open richardschoen opened 2 months ago

richardschoen commented 2 months ago

Add parameter passing to the RREGEN command so runtime parameters can be passed when running JasperReports templates.

richardschoen commented 2 months ago

Workaround for now - an input data file can be created with just the subset of records needed for a report to run.

The QSHONI/QSHQRYTMP command is a great tool to use to pre-select records and write them to a temp file that can then be used to generate the report.

Once parameters are in place the need for this will be minimized because query criteria will be able to get passed into a report at runtime.