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 have an Excel style sheet template which has multiple sheets. I need to execute around 10 procedures and export data into this StyleSheet. To do that I have created a procedure in which I am doing the following
I believe you need an open statement on your first ON TABLE PCHOLD FORMAT EXL2K TEMPLATE 'test' SHEETNUMBER 1 and you will need a close statement on your last on table pchold you call. I never have used the template and sheetnumber feature, so I'm not sure it it matters where you put the open and close.
I usually have ON TABLE PCHOLD FORMAT EXL2K OPEN or ON TABLE PCHOLD FORMAT EXL2K CLOSE. Hope this helps.
The way we do it is everything is an ON TABLE HOLD until the very last sheet -- and that's a PCHOLD.
Example:
ON TABLE HOLD AS COMPARISON FORMAT EXL2K TEMPLATE 'test' SHEETNUMBER 1
ON TABLE PCHOLD FORMAT EXL2K TEMPLATE 'COMPARISON' SHEETNUMBER 2
If you had more than 2 sheets, I'm not sure if you'd have to have different hold names or not... The basic idea though is that you're holding it out and building upon that each time though.
Hope that helps.
Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio Testing: <none> Using MRE & BID.  Connected to MS SQL Server 2005 Output Types: HTML, Excel, PDF
--* File CAR1.fex TABLE FILE CAR PRINT COUNTRY ON TABLE PCHOLD FORMAT EXL2K OPEN TEMPLATE 'test' SHEETNUMBER 1 END
-* File CAR2.fex TABLE FILE CAR PRINT CAR ON TABLE PCHOLD FORMAT EXL2K TEMPLATE 'test' SHEETNUMBER 2 END
-* File CAR3.fex TABLE FILE CAR PRINT CAR ON TABLE PCHOLD FORMAT EXL2K TEMPLATE 'test' SHEETNUMBER 3 END
-* File CAR4.fex TABLE FILE CAR PRINT CAR ON TABLE PCHOLD FORMAT EXL2K CLOSE TEMPLATE 'test' SHEETNUMBER 4 END
The 4 sheets will appear as tabs in excel. The only "nasty" thing I've found is that the 2nd, 3rd, 4th, etc sheets will be in tabs called "recovered_sheet1", "recovered_sheet2", etc in excel rather than the report title. The report title can be set by TITLETEXT='Nice Title' in the stylesheet but only the fist tab (the result of the first table request) will have the "Nice Title".
I ran some search on Information Builders' online document and came to the understanding that the error message you received is a little generic that it can appear in several different situations. The following online documents may be of interest: