Focal Point
[SOLVED] FTM removal

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1007054686

May 18, 2017, 10:13 AM
JK_CSGI
[SOLVED] FTM removal
All,

We have some ReportCaster jobs that are doing some heavy ETL processing. While we are processing we are creating a large amount (20+) FTM files and the corresponding MAS files. Is there a command or technique that we can use to clean up and remove these files after we are done utilizing them?

Thanks!

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


Release: 8.1
OS/Platform: RHEL
Output: All
May 18, 2017, 10:33 AM
FP Mod Chuck
Hi

In a post processing fex you can issue OS commands starting with a !.


! rm /ibi/apps/baseapp/*.ftm
! rm /ibi/apps/baseapp/*.mas


You will need to specify the correct directory where the files exist.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
May 18, 2017, 11:27 AM
BabakNYC
Look up APP DELETEF in the documentation.
https://webfocusinfocenter.inf...05e712db52bbe07-7d6a


WebFOCUS 8206, Unix, Windows
May 18, 2017, 11:44 AM
Wep5622
If they are temporary files anyway, why don't you store them in a temporary location in the first place? They'll get cleaned out automatically.

Either don't specify a location (they get removed at the end of the procedure) or use FOCCACHE if you need the files in multiple procedures (cleaned after the session times out).

Are you using APP HOLD perhaps? That could be a cause for pollution with supposedly temporary files in your app directories...


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
May 19, 2017, 01:18 PM
FP Mod Chuck
I agree with Wep5622 eliminate the APP HOLD and your problem goes away.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats