Focal Point
WebFocus 5.2 - changing servers on the fly

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5321067331

July 16, 2003, 03:12 PM
Carol Dobson
WebFocus 5.2 - changing servers on the fly
Help! I am just starting to support WebFocus 5.2 users and don't have the software on my machine. My user is using a SQL database, we have a Test environment and Prod environment with masters and access files that have the same name with the correct settings in the access files for test and prod. Is there a way to set the search path dynamically and override the edasprf settings on the fly? I'm looking for something like the old PATH commands. I would appreciate any help to get me going in the right direction. We tried SET APPPATH = xxxxx

Thanks!
July 17, 2003, 04:05 PM
<IBI Sean>
Hi Carol:

APP PATH has similar functionality to EDAPATH and much more. Within FOCUS code you can use any of the following commands:

------------- Available APP commands ------------
-------------------------------------------------
* APP ENABLE
* APP DISABLE
* APP CREATE app1 [app2 ...]
* APP DELETE app1 [app2 ...]
* APP DELETEF app1 filename filetype
* APP COPY app1 app2
* APP COPYF app1 filename1 filetype1 app2 filename2 filetype2
* APP MOVEF app1 filename1 filetype1 app2 filename2 filetype2
* APP RENAME app1 app2
* APP RENAMEF app1 filename new_filename filetype
* APP PATH app1 [app2 ..]
* APP PATH
* APP APPENDPATH app1 [app2..]
* APP PREPENDPATH app1 [app2..]
* APP HOLD app1
* APP HOLD
* APP LIST
* APP LIST HOLD
* APP QUERY app1
* APP QUERY app1 HOLD
* APP FI ddname DISK app1/filename.filetype
* FILEDEF ddname DISK app1/filename.filetype
* USE app1/filename.filetype AS mastername
* APP MAP APP1 physical_directory
* APP SHOWPATH
* APP HELP

From a self-service web page you can set the IBIAPP_app variable with the APP PATH name spaces you wish to use for a given request. The WebFOCUS Client will take the IBIAPP_app and issue the appropriate APP PATH syntax behind the scenes with your request.

Within the Managed Reporting environment, your users can specificy which APP PATH to search in, either at the Domain level or on a specific Report basis.

Hope this helps.

-Sean
July 24, 2003, 01:42 PM
Carol Dobson
Thanks Sean - this is a HUGE help - I finally got 5.2 installed on my machine. Big Grin