Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Creating a cleanup process on datamigrator process flow
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Creating a cleanup process on datamigrator process flow
 Login/Join
 
Gold member
posted
Hey guys,

I need to implement a process that will clean up any temporary tables that I have included in my process flow once the entire flow has completed. So this item will need to be at the very end.

So far, my research has led me to think I need to create a procedure that I call at the end of the process that will truncate multiple "temporary" tables. (*Using temporary as a loose term as these tables are permanent holding tables that we reuse when we run the flows)

Can you give any reference on what the syntax should look like for something like this?

Example:
SQL DB2

Truncate table a
Truncate table b
Truncate table c;

END

Thank you in advance!!

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


WebFOCUS 8
Windows, All Outputs
 
Posts: 62 | Registered: December 06, 2016Reply With QuoteReport This Post
Guru
posted Hide Post
you could add a validto datetime to a file and then execute a command to find all files that have a validto datetime less than now.

If everything is in one application, you could also mapp the application to a temp folder and simply remove the whole folder after all flows are finished.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 381 | Location: Europe | Registered: February 05, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Creating a cleanup process on datamigrator process flow

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.