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.
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, 2008
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, RifazThis message has been edited. Last edited by: Rifaz,
-Rifaz
WebFOCUS 7.7.x and 8.x
Posts: 406 | Location: India | Registered: June 13, 2013
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, 2007