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.
I'm trying to export a report to a flat file type ALPHA.
I have 2 problems:
1 .- I place some fields in the HEADING AREA and when exporting the file type ALPHA, only export the data that is in the DETAILS AREA of the report, not those who are in the HEADING AREA. How to export the data that are in the HEADING AREA and in the DETAIL AREA?
2 .- In the fields that are in the DETAIL AREA of the report, I put at the end of the sentence, the statement "OVER ", to be displayed on the next line, but when export to an ALPHA file, the data displayed on a single line. How to export the data in a line each?
Thanks for your help!This message has been edited. Last edited by: Kerry,
WebFocus 7.6.10, windows 7, win server 2003-2008 PDF, TXT, XML, html, xls, doc
The code below could be something you are looking for. The format of the output is WP and this format will save the data including all heading/footing stuff. In this example, the file will be saved in the baseapp directory.
-Fred-
FILEDEF HOLD DISK BASEAPP/OUTPUT_AS_ALPHA.TXT
-RUN
TABLE FILE CAR
ON TABLE SUBHEAD
"--------------------------------------------------"
HEADING
"Country in heading = <COUNTRY "
"--------------------------------------------------"
SUM DEALER_COST AS ''
BY COUNTRY AS ''
BY MODEL AS ''
ON COUNTRY SUBHEAD
"Country in subhead = <COUNTRY "
"and some more text ....................... "
ON COUNTRY SUBFOOT
"Country in subfoot = <COUNTRY "
"--------------------------------------------------"
ON COUNTRY PAGE-BREAK
ON TABLE HOLD FORMAT WP
ON TABLE SET PAGE NOPAGE
END
-RUN