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.
One of our user has a process that is writing ~ 10.5GB in hold files in the agent directory (C:\temp\edatemp\ts######\). We are trying to streamline this process, but I think we are stuck with some large files for the time being. When (if) the process runs to completion, the agent directory is purged and all is fine. If not, the disk can easily run out of space and the whole environment is down for the count. Thankfully, it's the dev server.
I'm hoping that there is a built in command I can pass to delete one hold file after I am done with it. Each one is ~1.5 GB and I'd like to only have 1-2 out there at a time (if possible).
- ABTThis message has been edited. Last edited by: ABT,
I dont think there is any such command/process to delete the temp files in agent directory during the middle of the execution.
Are these hold files generated as part of intermediate manipulation...if so what you could do is the capture the hold files on the fly after each step and delete them manually...you can use TEMPPATH and app delete commands for this...
We had this issue and we converted all the intermediate hold files into DB temp tables .. If you can use SQL passthru all the possible conversions/manipulations can be done there and avoid some hold files..
thanks Sashanka
WF 7.7.03/Windows/HTML,PDF,EXL POC/local Dev Studio 7.7.03 & 7.6.11
Awesome, guys. Thanks for the feedback/best practices. Here's what I threw together as an include in our STANDARDS folder. This can now be -MRNOEDIT INCLUDED with a variable declaration. Hope it saves someone else a few mins.
-*******************************************************************************
-* DELHOLD.FEX
-*******************************************************************************
-* AUTHOR: Blake Thompson
-*
-* DATE: 20110715
-*
-* PURPOSE: Keep temporary agent directories clean of old hold files during
-* long running processes or processes that consume lots of diskspace.
-*
-*******************************************************************************
-* REQUIREMENTS
-*******************************************************************************
-* SET THE &HOLDFILETODELETE variable with the name of the holdfile you specified
-* in your program.
-*
-* You MUST set a -RUN before calling this (i.e. after your ON TABLE HOLD statement).
-*
-*******************************************************************************
-* USAGE:
-*******************************************************************************
-*
-* TABLE FILE CAR
-* PRINT
-* *
-* ON TABLE HOLD AS FILE1
-* END
-* -RUN
-*
-* -SET &HOLDFILETODELETE = 'FILE1';
-* -MRNOEDIT -INCLUDE DELHOLD
-*
-*******************************************************************************
-* OPTIONS:
-*******************************************************************************
-* -SET &VERBOSE_DELHOLDFILE = 'ON';
-* TO SEE SYSTEM MESSAGES (GOOD FOR DEBUG)
-*
-* YOU CAN IGNORE THE VARIABLE IF YOU YOU DON'T WANT FEEDBACK.
-*
-*******************************************************************************
-*TABLE FILE CAR
-*PRINT
-**
-*ON TABLE HOLD AS FILE1
-*END
-*-RUN
-DEFAULT &VERBOSE_DELHOLDFILE = 'OFF';
-*-SET &HOLDFILETODELETE = 'FILE1';
-SET &HOLDFILETODELETE = &HOLDFILETODELETE | '.ftm';
-IF &VERBOSE_DELHOLDFILE = 'ON' THEN GOTO DOMSG1 ELSE GOTO SKIPMSG1;
-DOMSG1
-WINNT echo =========BEFORE============
-WINNT cd
-WINNT dir /b
-SKIPMSG1
-WINNT del &HOLDFILETODELETE
-IF &VERBOSE_DELHOLDFILE = 'ON' THEN GOTO DOMSG2 ELSE GOTO SKIPMSG2;
-DOMSG2
-WINNT echo.
-WINNT echo =========AFTER=============
-WINNT cd
-WINNT dir /b
-SKIPMSG2