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 would like to run a request on my WebFOCUS server and hold the output on the local workstation.
TABLE FILE CAR SUM SALES BY COUNTRY ON TABLE PCHOLD AS H001 FORMAT TAB END
When I run this request, I get a Windows dialog box "File Download - Security Warning" with this message: "Do you want to save this file? Name: ibiweb, Type: Unknown File Type".
I would like the file name to be H001 with an extension of .tab and have the Windows dialog box specify that.
Does anyone know how to do this?
Thanks.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
I have seen this technique used. It may do the trick for you.
-SET &RADDR='Computer_pc_address'; -SET &A='\\' || &RADDR || '\' || 'C'; -SET &E='\bose.htm'; FILEDEF BOSE DISK &A&E TABLE FILE CAR PRINT COUNTRY ON TABLE HOLD AS BOSEFORMAT HTML END
Define RADDR in ibicommd.wfs to &REMOTE_ADDR.
Rich
WebFOCUS 8202 Win 2012 Test - WebFOCUS 8203 on Win 2012
Thanks - that's a very intriguing solution, unfortunately, since the request is made from a web browser URL on the UNIX server I cannot determine the name of the PC that the request was made from.
Thanks.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
-SET &RADDR=&REMOTE_ADDR; The &REMOTE_ADDR should be a browser variable of the pc submitting the request that should get picked up if it's passed in the client.
WebFOCUS 8202 Win 2012 Test - WebFOCUS 8203 on Win 2012
Francis, Did you get this to work? If so, would you please post your code -- I have end-users who need to access their hold files and at this point I have to ftp them to my hard drive and e-mail them to the users.
Setting the REMOTE_ADDR as Francis has stated is the suggested and prefered way to do it, as this updates the site.wfs file.
The method Rich suggested will still function, but the file is not normally accessible from standard administration screens and therefore one would require access to locate and write to the Server's files. The other aspect of this is that there are many other settings within the ibicommd.wfs file that should not be tampered with unless you know what you are doing.
I'm not advocating not following Rich's suggestion, merely advising that you should follow Francis' lead in this respect.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
if you just want the variable passed with the same name. If you want to change the name then use -
<sendvar>
REM_ADDR=&REMOTE_ADDR
<endsendvar>
Unfortunately I don't use CGI (neither access it) as from release 7.1.1 the servlet is the way to go (?) and I don't really want to start changing my Client's settings, even for a short while. I only have apache installed locally without IIS so no CGI there anyway.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004