Defining output with JCL and PRL SET REPORTID


To define report output with JCL, the ddname of the DD statement must be the same as the value of the SET REPORTID statement or its default (the execution job name).

For example, if the PRL program specified SET REPORTID = 'TRANAB', the name of the DD statement defining the report output must be

//TRANAB  DD  userParametersForReportOutput


Warning

Note

The user parameters must follow the rules and conventions for coding a DD statement, as described in the IBM documentation, MVS Extended Architecture JCL Reference Manual.

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 ......

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*

BMC AMI Ops Monitor for CICS 7.3