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     Error handling [Resolved]

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Error handling [Resolved]
 Login/Join
 
Platinum Member
posted
We have a J2EE application that is calling and executing a WF report through Web Services. If anything goes wrong with the WF report (i.e. can't connect to the database, etc.) we want WF to send J2EE to send a string (like the one below) through a SOAP message. Is this possible?





WebFOCUS Message[42]: NO EDA HTML Output






No HTML Output!





              <H5>

               (FOC1400) SQLCODE IS -1 (HEX: FFFFFFFF)

               : SQL OLE DB Interface: Could not find Connection WEBFOCUS

               L    (FOC1406) SQL OPEN CURSOR ERROR.

              </H5>

            




This message has been edited. Last edited by: Ted Michalski,


7.7.02
Windows
EXCEL, PDF, CSV, TEXT
 
Posts: 106 | Registered: June 25, 2009Report This Post
Guru
posted Hide Post
Ted,
something like this:
1. Create a master for the focsql.err file, ti's located in the \ibi\64bit\srv76\home\nls or
\ibi\srv76\home\nls\, depending on whether you're on a 64 or 32 bit machine. They come in a few different language versions as well.

FILENAME=FOCSQL, SUFFIX=FIX
SEGNAME=SEG1, SEGTYPE=S0,$
FIELD=str0,,A5,A5,$
FIELD=errno,,A9,A9,$
FIELD=space,,A1,A1,$
FIELD=text,,A65,A65,$

Run a query and extract the information you want. Maybe jsut the first line is interesting.

/Håkan


WebFOCUS DS 8.0.06/08 DS/AS
WebFOCUS RS 8.0.08 (Linux/IBM i)
WebFOCUS Client 8.0.06 (Linux)
 
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004Report This Post
Expert
posted Hide Post
I think that step 1 should be add error checking to your fex.

Then you can handle the errors.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
No offence Waz

but I think create the master file first and then run a standard fex as an -include or ex after the report. If &FOCERRNUM = 0 then you just skip the error handling, else do somthing useful to send to your Java app


WebFOCUS DS 8.0.06/08 DS/AS
WebFOCUS RS 8.0.08 (Linux/IBM i)
WebFOCUS Client 8.0.06 (Linux)
 
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004Report This Post
Expert
posted Hide Post
The order is not important, unless it effects the performance of the report.

As long as there is error checking, and something to handle it.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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     Error handling [Resolved]

Copyright © 1996-2020 Information Builders