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.
Robert, Which release of dev studio are you using? The following runs in release 5.2.1: -SET &REPORT = 'ABCRPT'; TABLE FILE CAR PRINT CAR BY COUNTRY ON TABLE PCHOLD AS &REPORT FORMAT PDF END
When you say "doesn't work", what messages are being displayed?
First of all a HOLD file goes to temporary space and gets deleted. To get a round this you need to FILEDEF name DISK path\filename to get around that. Assuming you're doing that, the second problem is the PCHOLD. PCHOLD sends the answer set down to your browser. Since the WebFOCUS server knows nothing about your PC, you can't FILEDEF to your local machine. This leaves you with 2 choices. Either do a PCHOLD to your screen and then save the PDF doc locally, or FILEDEF and HOLD on the server. You can always ftp from there. A third option would be to use Report Caster to email to you if you have Report Caster.
I am still using Desktop 4.3.6 and I do not yet have Dev Studio (although I should be getting that soon). I am not getting an error when running my procedure, rather my PCHOLD file does not get named according to my Set &REPORT line of code. The report is held on my PC as "@0000001.pdf".
where app is a valid application contained within the path.
The first one redirects any master and access files created with the hold command whereas the second one redirects data files.
This should be valid for 4.3.6 (512) but will only redirect the files relative to the server. As WFUSER has intimated your perceived problem is with the use of PCHOLD.
PCHOLD does not do what you might think and only returns the output to your browser as your machine is "an unknown" to the server. If you have a share on your machine then you could filedef to that (e.g. FILEDEF &MYREPORT DISK //192.168.12.10/myshare/&MYREPORT...pdf) but you should then use HOLD and not PCHOLD.
Hope this helps.
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004