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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Show alert message for user if webfocus server is down and database is down

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Show alert message for user if webfocus server is down and database is down
 Login/Join
 
Member
posted
Hello,

Some times webfocus server may be down or database may be down at that time i need to pass the alert message to java,that "webfocus server is down so unable to generate report" + If database is down so unable to generate report".can any one help with code


Thanks

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.7.03 Windows 7, Excel,HTML,PDF
 
Posts: 11 | Registered: August 27, 2014Report This Post
Guru
posted Hide Post
Maddy1,

Just to heads up, i think &RETCODE may do the trick, if your DB is down. But, about RS, need to look, is there any environment variable get set once server is running.


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report This Post
Silver Member
posted Hide Post
Maddy1,

-IF (&RETCODE LE 1) AND (&FOCERRNUM EQ 0) THEN GOTO SKIP_EXIT;
-TYPE *** RETCODE = &RETCODE
-TYPE *** FOCERRNUM = &FOCERRNUM
-TYPE *** FORCED TERMINATION!
-EXIT
-RUN
-SKIP_EXIT


WebFOCUS 8.0.08 - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
Windows, All Outputs
 
Posts: 40 | Registered: April 02, 2014Report This Post
Member
posted Hide Post
Thank you very Much Rifaz and Shakila,i will try this code and let you know if it works


WebFOCUS 7.7.03 Windows 7, Excel,HTML,PDF
 
Posts: 11 | Registered: August 27, 2014Report This Post
Master
posted Hide Post
Maybe I'm missing something, but if the WF server is down how is this ever going to run?

quote:
Originally posted by Shakila Subhan:
Maddy1,

-IF (&RETCODE LE 1) AND (&FOCERRNUM EQ 0) THEN GOTO SKIP_EXIT;
-TYPE *** RETCODE = &RETCODE
-TYPE *** FOCERRNUM = &FOCERRNUM
-TYPE *** FORCED TERMINATION!
-EXIT
-RUN
-SKIP_EXIT


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
 
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010Report This Post
Member
posted Hide Post
Hi Greg,

Can you help out what the return codes usually cause ate webfocus server down and database down


WebFOCUS 7.7.03 Windows 7, Excel,HTML,PDF
 
Posts: 11 | Registered: August 27, 2014Report This Post
Platinum Member
posted Hide Post
You can replace the reference to the bid login with your own as per below.
We have a small piece of html generated by Dev Studio that simply says "WebFOCUS down ....try later"

  • Log In

  • < !--
  • Log In
  • -->


    _______________________
    *** WebFOCUS 8.1.05M ***
     
    Posts: 196 | Location: London, UK | Registered: December 06, 2005Report This Post
    Platinum Member
    posted Hide Post
    Also refer to Case: 93462003
    Summary: How to put a message on Dashboard login screen


    _______________________
    *** WebFOCUS 8.1.05M ***
     
    Posts: 196 | Location: London, UK | Registered: December 06, 2005Report This Post
    Master
    posted Hide Post
    Since you are using JAVA as launch tool, you can use the response header value of the WebFOCUS request and display the alert accordingly.

    Thanks,
    Ram
     
    Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
    Platinum Member
    posted Hide Post
    Can you supply an example of this please Ram.


    _______________________
    *** WebFOCUS 8.1.05M ***
     
    Posts: 196 | Location: London, UK | Registered: December 06, 2005Report 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     [CLOSED] Show alert message for user if webfocus server is down and database is down

    Copyright © 1996-2020 Information Builders