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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] best practice to avoid data collision for drill down report that use hold

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] best practice to avoid data collision for drill down report that use hold
 Login/Join
 
Member
posted
Is there a practical method to create a FILEDEF that points to the ever changing temporary session area APPHOLD path ?

I get a FOC 205 error (can't find master) when executing drill downs within a drill down report. I am guessing when the initial report is generated the session closes and WebFOCUS is no longer able to find its way to the files it created once the drill down is executed.

By querying the path ( ? PATH ) I can "see" the location of the temporary session (ts000008), but the challenge is pointing to this since it changes with each session.
APPHOLD = E:\ibi\srv71\wfs\edatemp\ts000008;

I have multiple concurrent users needing to access 3 hold files HOLD_A, HOLD_V, HOLD_D and would like to determine the best way to avoid data collisions or clobbering of the hold files.

Many thanks,

This message has been edited. Last edited by: Kerry,


Developer Studio 717
Windows XP
AHTML, HTML, EXL2K, ALPHA, FOCUS, COM, and PDF output formats
 
Posts: 3 | Registered: March 09, 2009Report This Post
Guru
posted Hide Post
Your version of WF does not support something called FOCCACHE, which would be the best/easiest way of doing what you want. If you can't get your site to upgrade to 7.6.5+, you should probably store hold files by username in an application folder.

-Make sure the folder exists in your application directory
-create a sub folder by username
-do a prependpath to add that folder to the app path
-app hold to the sub folder

Here's some code I used to use, before FOCCACHE:

-**************************************
-* THIS CREATES A TEMPORARY WORK FOLDER FOR THE USER OR CLEARS IT OF OLD FILES IF IT ALREADY EXISTS:
-*-* this section clears the contents of the sales_wrk_area\username folder
-SET &NEWAPP=&APPROOT | '\sales_wrk_area\' | &IBIMR_user;
-*
DOS STATE &NEWAPP
-RUN
-IF &RETCODE EQ 0 GOTO DELFILES;
DOS MD &NEWAPP
-RUN
-GOTO GOINGNOW;
-DELFILES
-SET &DEL1=&NEWAPP | '\*.*/Q';
DOS DEL &DEL1
-RUN
-GOINGNOW
-SKP_APPMAP
APP MAP CURSALES &NEWAPP
-RUN
APP PREPENDPATH CURSALES
-*
-**************************************

You can issue an APP HOLD CURSALES when you need to start saving to that folder, and issue an APP HOLD to turn it off. Obviously modify the names to suit your environment.

Cheers,

Joey


-WebFOCUS 8.2.01 on Windows
 
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] best practice to avoid data collision for drill down report that use hold

Copyright © 1996-2020 Information Builders