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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] SET Server Name runtime.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] SET Server Name runtime.
 Login/Join
 
Gold member
posted
Hi Guys let suppose we have two server configured in our client can we switch between these servers at runtime when a user select QA then it will hit QA server and when user select PROD then it will hit prod server ?
it like changing application path like we do using APP PATH..

This message has been edited. Last edited by: FP Mod Chuck,


Webfocus 8.x
Windows
PDF,HTML,XLSX
 
Posts: 58 | Location: India | Registered: June 01, 2018Report This Post
Virtuoso
posted Hide Post
You need to have a variable in your master file which will be set according to selection
Same technic as explain in the following (except the RC part) : variable master


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Expert
posted Hide Post
This is very much reliant on your set up.

Are the Tables the same from UAT to Prod ?
Are the DB's in the same server or different servers ?

You could use Martin's answer, or another option is to base the change on the connection.

The idea is to have two connections defined in the reporting server, and use ENGINE {db server type} SET DEFAULT_CONNECTION {servername} to point to the connection defined.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
Hi Martin and Waz thanks for replying.
Yes we do have an option we can just change the connection at runtime and have two adapters available for PROD and QA.
But can we change the &_EDA_NODE inside a fex procedure


Webfocus 8.x
Windows
PDF,HTML,XLSX
 
Posts: 58 | Location: India | Registered: June 01, 2018Report This Post
Expert
posted Hide Post
No, once you are running the fex it is already in a reporting server (EDA Node).

Your options are to set the node on the page running the fex, possibly setting the node in site.wfs ?? or possibly calling the other server and executing the code there (a bit more infrastructure setup needed).

There is probably other options, but that is first hings that came to mind.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
Always keep the documentation links in your favourites

Reporting Language
Parameterising Master and Access files

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, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] SET Server Name runtime.

Copyright © 1996-2020 Information Builders