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.
Hi I have to create a report that saves the output in a TXT file. What do I need to do? I looked up the help and from whatever I could gather from it is written below:
DEFINE FILE GGORDER
TOTAL_SALES/D11.2 = QUANTITY*UNIT_PRICE;
END
TABLE FILE GGORDER
SUM
TOTAL_SALES AS 'TOTAL SALES'
BY
PRODUCT_DESCRIPTION
ON TABLE SAVE AS filename FORMAT WP
END
But i am not getting the desired output. Can anyone please explain whats gone wrong?This message has been edited. Last edited by: sidney_jec,
Filedef the file prior to the table request, e.g. FILEDEF filename DISK [full path]\filename.txt, where [full path] is relative to the reporting server (i.e. not your own computer).
Using SAVE gives a default format of ALPHA which may be what you require rather than WP.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
You can put it anywhere you wish, provided these locations are known to the server or can be made known. If you need it to be saved on a machine other than the server, you would need to first create a share for that location, assign the share within the server environment and then filedef it. There is another way of distributing files: use report caster. Or yet another: use ftp to store the file on a ftp-server.
So, if you really need to be able to store it anywhere you wish, there are possibilities enough to do so, provided these other locations allow this to be done.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Also be aware that it is worth while adding the platform you are using (e.g. windows 2003 server or linux etc.) as some replies can be tailored to your platform rather than being generic.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
You have to be careful with FORMAT VISDIS because it puts headings on the first line and column lengths on the second line. That may not be what you want. It also tends not to be lined up properly in nice, neat columns. Make sure you look at the output.