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.
At the moment I'm at a customer which uses different servers for the WebFOCUS Client and the Reporting Server. The Reporting Server has WebFOCUS 7.6.8 installed on an AS400 server (OS400 5.4).
The customer has requested that I use an external file in one of my fexes. This file (a .txt-file) is available via HTTP (and works).
My issue is just even accessing the file. The FILEDEF with HTTP looked like the easy solution to this; but I can't get it to work!
I've created a test-fex which just tests the access; but this fails:
As you can see I've tried two ways to test whether the content of the file has been read; the READ and the !IBI.FIL.BESTAND;. The READ simply doesn't return any error, and the !IBI.FIL.BESTAND; returns: (FOC36225) UNABLE TO OPEN FILE DOMEIN SPECIFIED BY WEBFOCUS TABLE
Am I doing anything wrong; or does it have to do with the fact that I'm trying this on an iSeries machine? Any help is greatly appreciated!This message has been edited. Last edited by: Kerry,
TABLE FILE CAR
PRINT COUNTRY
ON TABLE HOLD AS FRED FORMAT ALPHA
END
-RUN
!COPY FRED.FTM FREDA.FTM
-RUN
FILEDEF BERT DISK FREDA.FTM
-RUN
-HTMLFORM BEGIN
!IBI.FIL.BERT;
-HTMLFORM END
Thanks for the reply! (Yesterday was a national holiday here in the Netherlands, so that's why my reply took a while). So the HTML FILEDEF doesn't work anymore... that's quite a pain. I'll get back to the customer and will have to find another way then.
Thanks for all the replies!
(About the READ and IBI.FIL commands in the example fex: I just put them both in so I have different methods of testing if the FILEDEF worked or not. In the final version I would off course only have used one of them).