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] Concept check on holds

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Concept check on holds
 Login/Join
 
Silver Member
posted
Good Afternoon,

Concept check: Do I have to explicitly state something should go to foccache to ensure it is unique to a request / session?

For example:

http://forums.informationbuild...037050186#8037050186

If you search for the following it will lead you to the post I am interested in: "posted March 03, 2016 10:33 AM". I've included the little snippet of code below:


TABLE FILE HOLDEVERYTHINGDISTOFFICE
SUM
HOLDEVERYTHINGDISTOFFICE.SEG01.CLOSED_ALL_REQUESTS AS 'CLREQS'
ON TABLE NOTOTAL
ON TABLE HOLD AS HOLDCLOSEDTOTALS FORMAT FOCUS
END

-RUN
-READFILE HOLDCLOSEDTOTALS
-TYPE CLREQS IS &CLREQS


In that statement there is a hold "HOLDCLOSEDTOTALS". Since this does not define the hold as existing in foccache like so, ON TABLE HOLD AS 'foccache/HOLDCLOSEDTOTALS', does that mean it is possible for this file to not be secured to a unique request / session? Maybe that's okay in this persons case, I didn't read the entirety of what they are trying to achieve. I was searching for something else and stumbled across this code and thought, "I should ask about this", and decided to use this specific snippet as an example of what I'm looking at.

Thanks for any input.

This message has been edited. Last edited by: FP Mod Chuck,


Windows 8203 All output formats
 
Posts: 47 | Registered: November 30, 2018Report This Post
Expert
posted Hide Post
Hi Sean,

Anything in FOCCACHE is protected, but is available to the user for the life of there session.

Anything in the EDATEMP/tsnnnnnn (location for HOLD and SAVE) is secured for the job run.

So both are secured.

Note: Note sure about connection pooling.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Silver Member
posted Hide Post
Okay, so I have a series of guids that are request specifc and should be cached as they are used in the "child" procedures of my main report procedure. If I want these to be nuked at the end of that main procedures run I should just use the normal hold without foccache then?


Windows 8203 All output formats
 
Posts: 47 | Registered: November 30, 2018Report This Post
Expert
posted Hide Post
If I understand, yes


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
However, if there's an "APP HOLD" statement preceding the "ON TABLE HOLD AS {filename} FORMAT FOCUS" it will be a 'permanent' file and will be accessible to anyone who has access to that app folder as long as that file exists. It will also be overwritten by subsequent executions of another "ON TABLE HOLD AS {filename} FORMAT FOCUS" when preceded by the "APP HOLD" statements.

Summary: There's several pieces to this puzzle. There's also the "APP DELETEF" command to think about...
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 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] Concept check on holds

Copyright © 1996-2020 Information Builders