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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Folc$hold issue
 Login/Join
 
<Janani>
posted
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.
 
Report This Post
Expert
posted Hide Post
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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
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
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Gold member
posted Hide Post
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
 
Posts: 79 | Location: Warren, NJ, USA | Registered: October 25, 2006Report This Post
Platinum Member
posted Hide Post
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
 
Posts: 195 | Registered: October 27, 2006Report This Post
Gold member
posted Hide Post
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
 
Posts: 86 | Location: Chicago | Registered: August 03, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders