Defining output with JCL and PRL SET REPORTID
If more than one report is created and DD statements are used to define each report output, there must be a corresponding report ID for each named DD allocation. An example follows:
//TRANAB DD ......
//TRANSUM DD ......
//TRANDET DD ......
//TRANSUM DD ......
//TRANDET DD ......
This specification allocates the report as specified in the JCL when a user-written PRL program contains:
- SET REPORTID = 'TRANAB' declaration for the TRANAB allocation
- SET REPORTID = 'TRANSUM' declaration for the TRANSUM allocation
- SET REPORTID = 'TRANDET' declaration for the TRANDET allocation
If a DD allocation for the report in the JCL exists and SET REPORTID is not specified or the value is not the same as the ddname of the report output DD statement, the JCL DD allocation is ignored. When no SET REPORTID declaration exists in a PRL program , the execution job name is the default value.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*