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     No data found in excel2k

Read-Only Read-Only Topic
Go
Search
Notify
Tools
No data found in excel2k
 Login/Join
 
Member
posted
Hi all,

I used the following piece of code to print a message in an EXL2K, if no data found.

-IF &LINES EQ 0 GOTO NODATA;
-NODATA
TABLE FILE SQLOUT
PRINT
INVC_SEQ_I NOPRINT
WHERE RECORDLIMIT EQ 1
ON TABLE SUBHEAD
"NO DATA"
ON TABLE PCHOLD FORMAT EXL2k
END
-EXIT

However, i am getting a strange error when i run the report.

Unknown error occurred.

Agent on reporting server BIUC01 may have crashed.
Please investigate reporting server log.

ERROR:

Need some help on fixing this issue.
Thanks in advance. Smiler


Vasantha kumar
7.1.4/ Unix / OF:EXL2K
 
Posts: 23 | Registered: July 02, 2008Report This Post
Expert
posted Hide Post
A hundred reasons why and this question has been asked before (with the same server ID!!!).

Try the search function in the top right of this page.

T
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Platinum Member
posted Hide Post
Tony - Can you please work in coming days to customize webfocus error messages with IBI to help us all...I think thats the best help you can provide to all the dead w/f developers.


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Virtuoso
posted Hide Post
Vasantha,

Two things:
First, I would not use SQLOUT for generating a empty-report data, I'd rather use a file that is always available and always has the same columns.
Second, it may be a typo, but EXL2K is all uppercase. In your example the k is lower case.

Hope this helps ...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
No Gamp,

I tried that. Frowner

I have changed that to Upper case and added 'THEN' keyword in IF condition. But still has the problem.

I have used the default CAR file to to print the message "NODATA" in the excel. But that also left me confused. Confused

Thanks


Vasantha kumar
7.1.4/ Unix / OF:EXL2K
 
Posts: 23 | Registered: July 02, 2008Report This Post
Expert
posted Hide Post
focuszambit,
quote:
work in coming days to customize webfocus error messages with IBI
If you're paying ........ Wink

Vasantha,

Let's think this through, if you are bypassing processing because there are no lines in your file, is it the number of lines from SQLOUT that you're checking? Do you have EMPTYREPORT set correctly?

As I have mentioned, the Server name BIUC01 has been mentioned before in posts and in particular server crashes. As WebFOCUS names the server EDASERVE by default, I can only assume that you are working in the same environment as the previous posters - such as Arvind (2 posts) as Balaji Gavini - or have they learnt off the backs of others and moved onwards? Even so, check out their previous posts to see if the suggestions help your problem.

T
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     No data found in excel2k

Copyright © 1996-2020 Information Builders