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] FOCCACHE question

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] FOCCACHE question
 Login/Join
 
Platinum Member
posted
Hello

I never dealt with FOCCACHE and having issues with it. I have one HOLD file created from some code and will be using it in multiple reports on single HTML page. So, I am using FOCCACHE to hold it, so that data prep runs only once and all reports use the HOLD file instead of running the same data prep multiple times.
STATE foccache/HOLD_FILE.mas
-RUN
-IF &RETCODE EQ 0 THEN GOTO CONTINUE_REPORT ELSE GOTO CONTINUE_DATAPREP ;

I am using above code in reports to check FOCCACHE and direct flow to run report or data prep.
Even when I change my filter selections, its still running the same file from FOCCACHE. Am I missing something here?

Please suggest.

Thank you.

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


WebFOCUS 8206
All formats
 
Posts: 95 | Registered: September 13, 2017Report This Post
Virtuoso
posted Hide Post
The FOCCACHE files exist for a period of time (depending on your client setting) to give opportunities to reuse the same data without the need to reload.

When you are doing :
STATE foccache/HOLD_FILE.mas
-RUN
-IF &RETCODE EQ 0 THEN GOTO CONTINUE_REPORT ELSE GOTO CONTINUE_DATAPREP ;

The &RETCODE is always 0 until your system clear the FOCCACHE so you always branch to CONTINUE_REPORT

Depending on your situation, different options may apply

How does the HOLD file is generated ? On request by the user from selection screen ? From an overnight job ? A pre-processing ? ...

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


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
quote:
Originally posted by MartinY:
The FOCCACHE files exist for a period of time (depending on your client setting) to give opportunities to reuse the same data without the need to reload.

When you are doing :
STATE foccache/HOLD_FILE.mas
-RUN
-IF &RETCODE EQ 0 THEN GOTO CONTINUE_REPORT ELSE GOTO CONTINUE_DATAPREP ;

The &RETCODE is always 0 until your system clear the FOCCACHE so you always branch to CONTINUE_REPORT

Depending on your situation, different options may apply

How does the HOLD file is generated ? On request by the user from selection screen ? From an overnight job ? A pre-processing ? ...


HOLD file is generated by the user from filter selection screen. There is no over-night job.


WebFOCUS 8206
All formats
 
Posts: 95 | Registered: September 13, 2017Report 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] FOCCACHE question

Copyright © 1996-2020 Information Builders