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 Report caster mail

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Generating Report caster mail
 Login/Join
 
Member
posted
Hi,

What needs to be done if i want to generate the Report caster mail only if there is a record available in the file?

Regards,
Mayank


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 16 | Registered: March 28, 2013Report This Post
Gold member
posted Hide Post
Reportcaster will give you an error if there is not report to distribute. We really hate seeing the word error so we do something like this. Let's say you still want something to go out, you can do something like..

I'm still kinda new to all this, so below is probably pretty ugly :P

  
TABLE FILE CAR
PRINT *
WHERE CAR EQ 'TESLA';
ON TABLE HOLD
END

-*
-RUN
-IF &LINES EQ 0 THEN GOTO NO_REPORT;
-*
-EXIT

-NO_REPORT

-HTMLFORM BEGIN
<HTML>
<HEAD>
</HEAD>
<BODY>
There are currently no report for today..
<P>
</BODY>
<FOOTER>
<FONT SIZE="1">Any Issues Please Contact: <a href="mailto:This.Person@thiscompany.com">This Person</a>
</HEAD>
</HTML>
-HTMLFORM END

This message has been edited. Last edited by: John C.,


WF 7703 Outputs all
Windows 7 32
DB2 CLI
 
Posts: 59 | Registered: August 09, 2012Report This Post
Member
posted Hide Post
I am not sure, but i think there is some direct way to do this...


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 16 | Registered: March 28, 2013Report This Post
<Kathryn Henning>
posted
Hi Mayank,

The following may be of interest to you:

How to prevent notifcation email when no data burst value

Regards,

Kathryn
 
Report 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 Report caster mail

Copyright © 1996-2020 Information Builders