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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


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

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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: 88 | Registered: December 06, 2016Report 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: 454 | Location: Europe | Registered: February 05, 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     [CLOSED] Creating a cleanup process on datamigrator process flow

Copyright © 1996-2020 Information Builders