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     Running a .FEX Program a Second Time Returns Old Data

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Running a .FEX Program a Second Time Returns Old Data
 Login/Join
 
Gold member
posted
If we run a .FEX program which prints data from a file, then we update the file using a Maintain program, and then run the .FEX program a second time, we get the old data, not the updated data.

The block of data from the first .FEX seems to stay in storage from 2 to 10 minutes depending upon other server activity.

Is they a way to force the second .FEX to go out to the file and get new data each time it is run?

We are on Developer Studio and Maintain 7.6.0 and a Windows server.


Windows2003 Server, WebFOCUS 7.7.02 Developers Studio and MRE
 
Posts: 63 | Location: Ft. Wayne, IN | Registered: February 20, 2007Report This Post
Expert
posted Hide Post
you are viewing your report via a browser, yes?
the browser is pulling the report from its cache, unless your force it to refresh.
position your mouse on the report output, click right, and click refresh.
Make sure your and your users browsers are set to dump their cache on exit and re-entry (tools/internet options)
the standard way to prevent this from happening *ever* it to use a random variable as a parameter in your fex. from the fex's launch page, the random variable in the form prevents the url of the page from being exactly the same as anything run previously and therefore stored in cache.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Master
posted Hide Post
Kent
The way to do this is to pass a timestamp to the focexec. You want to create a random value and display it on the screen out of site. Then pass that value to the exec. Remember to perform this case everytime you update the database.

Case UpdateStamp
TIMESTAMP/D8.2 = RDUNIF(TIMESTAMP) * 100000;
Endcase

How are you performing the external procedure? If you are using a weblink pass this value to the external procedure. If you are using EXEC, pass the value as well.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Gold member
posted Hide Post
Thanks Mark and Susannah. I needed to pass the random value in a MRE Web link. It is working fine now.
Thanks again.
Kent


Windows2003 Server, WebFOCUS 7.7.02 Developers Studio and MRE
 
Posts: 63 | Location: Ft. Wayne, IN | Registered: February 20, 2007Report 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     Running a .FEX Program a Second Time Returns Old Data

Copyright © 1996-2020 Information Builders