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     [SOLVED]TEXT output format???

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]TEXT output format???
 Login/Join
 
Guru
posted
Hi,

Is it possible to display the text output format in browser? When the fex runs, it should display the output in text format.

Not WP, FILEDEF test DISK C:/test.txt.

It could be something like

ON TABLE PCHOLD FORMAT TXT.

Any workaround or ideas, please.

Thanks,
Rifaz

This message has been edited. Last edited by: Rifaz,


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report This Post
Platinum Member
posted Hide Post
Hi,
The report output, or just the data?
You could try:
TABLE FILE CAR
PRINT COUNTRY RCOST DCOST
ON TABLE SET STYLEMODE FIXED
END
  


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report This Post
Platinum Member
posted Hide Post
Or something like:
FILEDEF TESTOUT DISK TESTOUT.TXT
-RUN
TABLE FILE CAR
PRINT COUNTRY RCOST DCOST
COMPUTE BR/A4 = '<br>' ;
ON TABLE HOLD FORMAT ALPHA AS TESTOUT
END
-RUN
-HTMLFORM BEGIN
!IBI.FIL.TESTOUT;
-HTMLFORM END


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report This Post
Guru
posted Hide Post
Thanks Twanette for your reply,

Actually, user is going to insert the datas to DB using the text file, i believe.
quote:
TABLE FILE CAR
PRINT COUNTRY AS '' RCOST AS '' DCOST AS ''
ON TABLE SET STYLEMODE FIXED
ON TABLE SET PAGE NOPAGE
END



quote:
FILEDEF TESTOUT DISK TESTOUT.TXT
-RUN
TABLE FILE CAR
PRINT COUNTRY AS '' RCOST AS '' DCOST AS ''
COMPUTE BR/A4 = '
' ;
ON TABLE HOLD FORMAT ALPHA AS TESTOUT
ON TABLE SET PAGE NOPAGE
END
-RUN
-HTMLFORM BEGIN
!IBI.FIL.TESTOUT;
-HTMLFORM END


After saving it as text file in our physical disk, notice there is a little space at the beginning in all the lines which they'd really like to avoid.


Thanks,
Rifaz

This message has been edited. Last edited by: Rifaz,


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report This Post
Virtuoso
posted Hide Post
Rifaz,
Try:
TABLE FILE CAR
PRINT COUNTRY RCOST DCOST
ON TABLE SAVE  AS FILENAME FORMAT ALPHA
ON TABLE SET PAGE NOPAGE
END
-RUN
SET HTMLFORMTYPE=TXT
-HTMLFORM BEGIN
!IBI.FIL.FILENAME;
-HTMLFORM END
-EXIT


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Guru
posted Hide Post
Ah.. good one. Thanks much Alan Smiler


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report This Post
Member
posted Hide Post
Whenever I do a hold/save I lose the subfoot formatting.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 26 | Location: Atlanta, GA | Registered: July 13, 2012Report 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     [SOLVED]TEXT output format???

Copyright © 1996-2020 Information Builders