Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Generating Empty Reports in RCaster717

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Generating Empty Reports in RCaster717
 Login/Join
 
Gold member
posted
Hello all,

This there a way to generate a "Today's report is empty" message to email to everyone on an Rcaster distribution list for whom a report was not created?

Thanks to all,
Ken

Z/OS
Focus 725
WebFocus 717


 
Posts: 54 | Registered: October 06, 2005Report This Post
Virtuoso
posted Hide Post
If you will do a search on this forum...you will find several discussions on this topic.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
After the TABLE FILE ... END producing the report, use D/M to test the number of records put into the preceding report (&RECORDS). If there are records, EXIT the FocExec. If there are no records, do either of two things:
1) Use D/M HTMLFORM command to include a pre-prepared web-page that displays on the 'empty report' condition (-HTMLFORM norecs).
2) Query a file that always exists and print a report that is nothing but a heading which explains the no-report condition:
TABLE FILE CAR
DEFINE FILE CAR
BLANK/A1 = ' ';
END
PRINT BLANK
HEADING
"No report to print"
WHERE READLIMIT LE 1
END


WIN/2K running WF 7.6.4
Development via DevStudio 7.6.4, MRE, TextEditor.
Data is Oracle, MS-SQL.
 
Posts: 154 | Location: NY | Registered: October 27, 2005Report This Post
Gold member
posted Hide Post
Thank you.
I think I'll use option 2.
Problem solved.


 
Posts: 54 | Registered: October 06, 2005Report This Post
Member
posted Hide Post
first request......... and then
-IF &RECORDS EQ 0 GOTO SPCL ELSE GOTO XIT;
-SPCL
DEFINE FILE CAR
BLNK/A1 WITH COUNTRY = ' ';
END
TABLE FILE CAR
PRINT BLNK AS 'THIS REPORT IS BLANK BECAUSE NO RECORDS WERE FOUND'
WHERE RECORDLIMIT EQ 1
ON TABLE SET EMPTYREPORT ON
END

ira aix 533 WF 5.3.6
 
Posts: 29 | Registered: March 30, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Generating Empty Reports in RCaster717

Copyright © 1996-2020 Information Builders