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     What causes foc$hold.mas to be left behind

Read-Only Read-Only Topic
Go
Search
Notify
Tools
What causes foc$hold.mas to be left behind
 Login/Join
 
Guru
posted
Hello Focus world,

I have a module that runs error free but leaves the foc$hold.mas behind, however, it doesn't leave the foc$hold.foc behind. Does anyone know what can cause this?

I know I can write the file out to temporary space and then COPY it, I know I can delete it, I know I can create a real FOCUS database. I'm just curious why it would suddenly be left behind since this has been running for a couple of years without problems. BTW, I also know it's not a multi-user thing, because I was able to run it without contention.

Thanks,
Carol



WebFOCUS 7.6.6/TomCat/Win2k3
 
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
I sometimes use the APP HOLDMETA and APP HOLDDATA commands to save the temporary hold and master files for future use. I also occasionally use SET TEMPERASE=OFF to save the temporary files within the EDATEMP directories. Are you using any of these? Where do you find the FOC$HOLD.mas file, in one of the EDATEMP directories?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Guru
posted Hide Post
APP HOLD folder - is issued right before the file I need to save.
I'm deleting the stray foc$hold.mas right after, just curious as to what could cause it.

Thanks,

Carol



WebFOCUS 7.6.6/TomCat/Win2k3
 
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
carol, try grabbing ahold of your path right before your process
-SET &MYPATH = TEMPPATH(40,'A40');
use the temppath command
see what your path really is.
maybe some odd SET TEMPDIR command is operating.
but at least if your &MYPATH turns out to be the dir where the foc$hold.mas is appearing, you'll know all is right with the focworld, and you'll just have to figure out why your path is getting set funky.




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
Expert
posted Hide Post
Carol,

Issuing APP HOLD foldername to direct the ON TABLE HOLD FORMAT FOCUS will set the path for all the temporary work that goes on during the creation of the FOCUS file. That means that the "temporary" foc$hold files will be written to that folder as well as your resultant FOCUS file. However, unlike the EDATEMP folder, WF doesn't clean up the foc$hold files Frowner.

One way or another you will have to do some clean up for yourself I'm afraid - even if you choose to HOLD and then copy from the EDATEMP dir.

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
Guru
posted Hide Post
Aha, I guess the disconnect is - I didn't realize that WF did not clean up the foc$hold files. Sorry! My memory is not what it used to be!

Thanks Tony!



WebFOCUS 7.6.6/TomCat/Win2k3
 
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
Carol,

They would be cleaned up if they were written to the EDATEMP folder, it's only because you wanted to capture the FOCUS file in an app folder and all the preparatory work is done in the same folder.

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
Member
posted Hide Post
You can use an APP DELETEF command to delete the FOC$HOLD files.

In our instance we commonly use
APP HOLD USERFILES

when creating a FOCUS formatted HOLD file like:
ON TABLE HOLD AS CARFOC FORMAT FOCUS

Then at the end of the focexec we issue the following commands to clean up FOC$HOLD files:

APP DELETEF USERFILES FOC$HOLD MASTER
APP DELETEF USERFILES FOC$HOLD FOCTEMP


WF 7.7.01
Reporting Server on zLinux or Windows
Client on linux
Output formats - EXL2K, HTML, PDF
 
Posts: 14 | Registered: October 06, 2006Report 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     What causes foc$hold.mas to be left behind

Copyright © 1996-2020 Information Builders