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 PangThis message has been edited. Last edited by: fatboyjim,
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.
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