Focal Point Banner


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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Server Variable
 Login/Join
 
Member
posted
We have five reporting servers. A user run can run a report against any of the servers. As a consequence when you view the report you cannot tell which server it was run against. Is there an amper variable that can be used in a report footing perhaps that will identify the reporting server?


WF 7.6.10 Unix Oracle
 
Posts: 22 | Location: Milano, Italy | Registered: September 16, 2005Report This Post
Expert
posted Hide Post
Add this to your site.wfs file:

<SET> SERVER_NAME = &SERVER_NAME (pass)

THis can be done via the WF Admin Console > Configuration > Custom Settings.

&SERVER_NAME then becomes a DM variable in all fexes.

Here's a few more variables you can add:
Pass the URL of the current WF request in a DM variable


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
Another option if you do not like the value of &SERVER_NAME is to use IF ELSE Logic and set a variable based on the value of &SERVER_NAME.

Still Another is to add a -SET &&SERVERNAME = 'xxx'; to the edasprof.prf file.

just some more options.




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Member
posted Hide Post
Francis, your solution gets me part way. For the &SERVER_NAME I get the WebFocus server - abc.company.com. What I need it the reporting server that report executed against - which one of the five reporting servers. (I hope I stated that correctly.)

TexasStingray, I haven't tried you solution yet. WIll give it a go.

Thanks.
Woody


WF 7.6.10 Unix Oracle
 
Posts: 22 | Location: Milano, Italy | Registered: September 16, 2005Report This Post
Expert
posted Hide Post
Try adding

<SET> IBIC_server = &IBIC_server (pass)


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
There is also a varivale called IBIC_server that can be used in site.wfs. It soulds like you are using load balancing in that case the best way might be to set a variable in the edasprof.prf for each server.

Francis you beat me to the post by less then 1 minute

This message has been edited. Last edited by: TexasStingray,




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Member
posted Hide Post
Beautiful! IBIC_server is what I was looking for. Many thanks.


WF 7.6.10 Unix Oracle
 
Posts: 22 | Location: Milano, Italy | Registered: September 16, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders