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     [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