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     [SOLVED] Setting Global Variables on Server

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Setting Global Variables on Server
 Login/Join
 
Platinum Member
posted
Hi,

Does anyone know where the location of the files are for setting up global variables (variable available for all applications/projects) for Servlet calls? Currently we are trying to migrate from CGI calls to Servlet and it's not picking up the global variables that were setup in the CGI calls.

Thanks in advance.

Best Regards,

Jimmy Pang

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


DEV: WF 7.6.10
TEST: WF 7.6.10
PROD: WF 7.6.10
MRE: WF 7.6.4
OS/Platform: Windows
Dev Studio: WF 7.7
Output: HTML, EXCEL, PDF, GRAPH, LOTUS, CSV
 
Posts: 117 | Location: Toronto, Ontario, Canada | Registered: February 29, 2008Report This Post
Expert
posted Hide Post
The file is site.wfs in /WebFOCUS/ibi/webfocus762/client/wfc/etc. You can get to it from Client Console: Configuration/Custom Settings.

You can also search this forum for site.wfs. There have been many posts regarding this file.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Platinum Member
posted Hide Post
Thanks Ginny.

I have located the file, but I was not able to find the format to place the variable value into it.

I have seen some posts that shows
WORPUSER

UID=&WORPUSER
UPASS=&WORPPASS
IBIC_user=&WORPUSER


IBIMR_user

UID=&IBIMR_user
IBIC_user=&IBIMR_user
IBIMR_user=&IBIMR_user
UPASS=&IBIMR_pass



UID=UNKNOWN
IBIC_user=UNKNOWN
UPASS=UNKNOWN



I tried to do the same,
ie.
GLOBVAR = 'valueOfGlobalvar'


but when I test it out, it still prompts me for a value for the variable.

Is there a sample of a global variable that I can modify? It doesn't look like these site.wfs are using WebFOCUS code.

Best Regards,

Jimmy Pang


DEV: WF 7.6.10
TEST: WF 7.6.10
PROD: WF 7.6.10
MRE: WF 7.6.4
OS/Platform: Windows
Dev Studio: WF 7.7
Output: HTML, EXCEL, PDF, GRAPH, LOTUS, CSV
 
Posts: 117 | Location: Toronto, Ontario, Canada | Registered: February 29, 2008Report This Post
Expert
posted Hide Post
If you truly want a server global variable, i.e. a double amper variable, put them in edasprof.prf which is here:

/WebFOCUS/ibi/srv76/wfs/etc


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Expert
posted Hide Post
Jimmy,

You can add it to edasprof.prf by editing the file via the WebFOCUS Server Console: http://your-server:8121/webconsole?IBIS_auth=out > Workspace > Configuration > Configuration Files > Server Profiles > Edit (or by editing C:\ibi\srv76\wfs\etc\edasprof.prf)

Add something like this line to the very end of the file:

-SET &&GLOBAL1 = 'EVERYWHERE';

I use && variables because, for some reason & variables don't get created.


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
Platinum Member
posted Hide Post
Thanks Ginny and Francis.
That did the job.


DEV: WF 7.6.10
TEST: WF 7.6.10
PROD: WF 7.6.10
MRE: WF 7.6.4
OS/Platform: Windows
Dev Studio: WF 7.7
Output: HTML, EXCEL, PDF, GRAPH, LOTUS, CSV
 
Posts: 117 | Location: Toronto, Ontario, Canada | Registered: February 29, 2008Report 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     [SOLVED] Setting Global Variables on Server

Copyright © 1996-2020 Information Builders