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.
-UNIX cp A B /opt/webfocus/qa/ibi/apps/holddir
A&B->are the file names
But this location is variable that is when iam moving the code to different
regions, the location changes to
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.
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.
You can also try APP MAP and APP COPY commands with Dialogue Manager variables.
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
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.
WF 7.1.7 - AIX, MVS
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.
wf 538 aix 533
wf 538(d), 537 (p),
7.6.11 (t) aix 5312
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
|Powered by Social Strata|