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     [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