I have a Report Caster job that most of the time does not create a report. It shows: "No report to distribute." at the bottom of the job and generates a warning in Report Caster.
I do not want a warning and I can not turn off the global setting for no report equals no warning (other schedules with no report are truly warnings).
I have also tried to prevent the 'Last Job Status: Error' by use of an Alert Report. This does not make any difference, when no report is distributed it still shows as an 'Error'. Besides, the correct working of the Alert Reports is questionable to me.
Hopefully there will be a solution for this some day,
SWES
WebFOCUS 8105m Windows 7, All Outputs
Member of the Benelux Usergroup
April 21, 2015, 11:21 AM
Francis Mariani
If there is no report to create (&LINES is 0) got to a section of the code to generate a report that states "There is no report to generate", thus overriding the error. The only inconvenience to this is that an irrelevant report is created and distributed.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
May 07, 2015, 04:37 PM
Carol Dobson
SET EMPTYREPORT = ON
Will generate an empty report with headings/footings if that's what you're looking for.