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 am trying to figure out a way to save the output of a report to two different formats (PDF and Excel) with a single execution. Does anyone know of a way to do this?
Posts: 9 | Location: Boston | Registered: April 25, 2005
The following does what you want. Note, use HOLD and not PCHOLD, The reason is if you use PCHOLD in the body of the report it finishes processing immediately after it executes the PCHOLD and returns the output to the browser. Also there is no option to apply styling to the second hold report, it�s vanilla output.
If you need to style the output then you�ll have to hold the extracted data and run your reports against that, once for each version.
FILEDEF EXCEL DISK C:\TEMP\EXCEL.XLS FILEDEF PDF DISK C:\TEMP\PDF.PDF -RUN TABLE FILE CAR SUM DEALER_COST BY MODEL ON TABLE HOLD AS 'EXCEL' FORMAT EXL2K END HOLD AS 'PDF' FORMAT PDF