Deliver - Report Definitions not Overriding JCL
search cancel

Deliver - Report Definitions not Overriding JCL

book

Article ID: 134501

calendar_today

Updated On:

Products

Deliver

Issue/Introduction

In converting from another product to Deliver, the client created new report definitions. In running the corresponding application jobs against these new definitions, found that some of the reports are being intercepted and others were not. They use RMOPARM OUTPUT=YES. 

Why are reports still going to the other product, which need to be shut down?

Why do some reports seem to be dropped from the Deliver capture when they appear to match the SYSOUT definitions defined?

Resolution

The client had the following code in their JCL: 

//OUT1 OUTPUT JESDS=ALL,DEFAULT=YES,DEST=LOCAL,CLASS=*
//OUT2 OUTPUT CLASS=R,WRITER=wwww,FORMS=fff1,DEST=NJE1
//OUT3 OUTPUT CLASS=R,WRITER=wwww,FORMS=fff2,DEST=NJE1

As per the Deliver Reference Guide: If a SYSOUT DD statement references more than one //OUTPUT statement, Deliver uses only the first statement to obtain print attributes and other statements are ignored.

Given the above, the attributes CLASS=R, WRITER=wwww, FORMS=fff1 (and fff2), and DEST=NJE1 are being ignored. That is the reason why the reports are not being processed as expected.

The ways to address the situation are:

  . Change the Deliver definitions, to not use F=..., but to use the Stepname and DD from the JCL.
  . Alter the application job JCL, so that the entry uses the FORM name itself (SYSOUT=(x,,form)), rather than a referback.