Focal Point
Folc$hold issue

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

February 27, 2008, 01:03 AM
<Janani>
Folc$hold issue
HI,

Iam trying to copy the User specific .mas and .foc files to a specific location. Is there any way to derive the path alone that is (APP HOLD DIR's path) dynamically instead of using APP HOLD DIR.

For example:

-UNIX cp A B /opt/webfocus/qa/ibi/apps/holddir

where

A&B->are the file names
location: /opt/webfocus/qa/ibi/apps/holddir

But this location is variable that is when iam moving the code to different
regions, the location changes to

/opt/webfocus/uat/ibi/apps/holddir

/opt/webfocus/xat/ibi/apps/holddir

Hence can this path be derived dynamically? Also the regions i need to move the
code to has the same hostname.I have tried using EDAPATH as well as USERPATH to derive the path but still its working.
February 27, 2008, 02:27 AM
Tony A
This sort of variable can be set in the site.wfs file as it's per installation.

Use the search facility above right to search for "site.wfs" to find earlier discussions.

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 
February 27, 2008, 09:13 AM
GinnyJakes
You can also try APP MAP and APP COPY commands with Dialogue Manager variables.


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
February 27, 2008, 02:27 PM
Diptesh Patel
Another option is to have an INCLUDE in each environment (dev, test, uat, qa, etc.) that sets the value of these types of variables. Then, you just bring in the INCLUDE as needed in your Fex. Once you have all environments covered, you rarely need to change these INCLUDEs.


Diptesh
WF 7.1.7 - AIX, MVS
February 28, 2008, 11:38 AM
ira
dipesh, i have that covered here. I use a -include to a configuration file that covers all the environments, and if there is a change it is rather simple rather than having to look all over the system for it.

ira
wf 538 aix 533


aix-533,websphere 5.1.1,apache-2.0,
wf 538(d), 537 (p),
==============
7.6.11 (t) aix 5312
websphere 6.1.19
apache 2.0
February 28, 2008, 02:52 PM
Gizmo
quote:
/opt/webfocus/uat/ibi/apps/holddir

/opt/webfocus/xat/ibi/apps/holddir


If each environment that you are using uses the above folder locations as you specified then the APP ROOT would by /opt/webfocus/uat/ibi/apps on one environment and /opt/webfocus/xat/ibi/apps on the other.

Since holddir is under the apps folder (same location under the APP ROOT) then this is not an issue and you do not have to setup another variable.

Simply state APP HOLD HOLDDIR in your program (though I don't suggest this since multiple requests at the same from the same server time would start writing over each other) and your good to go.



Windows: WF 7.6.2: SQL Server 2008 R2