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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [SOLVED]using variable to define source tables?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]using variable to define source tables?
 Login/Join
 
Platinum Member
posted
Hi,

Using iWay Datamigrator-

I have designed a flow manually with "Product01" as my source table to load into "Product_new" as my target. I also create a schedule to run this flow daily. Each day will create new table name "ProductXX"(where "XX" would be a counter) so my second day would be "Product02" to append into "Product_new" . is there a way to schedule this flow via source's name change dynamically/sequentially?

This message has been edited. Last edited by: nox,


WebFOCUS v8.2.06 , Windows
 
Posts: 137 | Registered: August 29, 2019Report This Post
Virtuoso
posted Hide Post
Nox

What is the database of Product01? Is it a SQL table or a sequential file?


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2128 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
Hi Chuck,

Sorry for lack of information. It is SQL Server Database. Base on a daily script it generate the sequential table daily by using different name.


WebFOCUS v8.2.06 , Windows
 
Posts: 137 | Registered: August 29, 2019Report This Post
Virtuoso
posted Hide Post
Nox

Yes this should be possible, you will need to run a DM Stored Procedure prior to the load that will set a &variable with the source table name that will be referenced in the productxx access file in the TABLENAME section. So you only need a single master file for the source file and the TABLENAME portion of the access file will be dynamic based on the &variable, You will need to keep the counter in another table that you increment and then look it up to set the &variable in the DM stored procedure. Hope that makes sense...


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2128 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
Thanks, I'll give it a try.


WebFOCUS v8.2.06 , Windows
 
Posts: 137 | Registered: August 29, 2019Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [SOLVED]using variable to define source tables?

Copyright © 1996-2020 Information Builders