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 email@example.com for further assistance. Reference the community FAQ to learn more about the community.
Hello all, thanks for the approval to be in the forum. I'm using Data Migrator to replicate our data from an IBM iSeries over to MS SQL Server. We have many libraries, and each of them has identically structured files in them. What I want to do is use a table(s) to drive all this, or as much as I can. I've accomplished part of this but I'm having trouble taking it to the next step.
Data For this example assume we have 500 libraries and each has 10 data files in them. A subset would be: DTA100/ORDERHeader DTA100/ORDERDetail DTA500/ORDERHeader DTA500/ORDERDetail
I currently have a table that has all the files I want, and their associated libraries. I have a view which only shows the ORDERHeader files, and another for ORDERDetail. I read this data in and put it into the "TABLENAME" field in the Synonym I've created each data file. An example would be that when the ORDERHeader view is read, it retrieves "DTA100/ORDERHeader" into a variable and puts it in "TABLENAME" in the synonym and things work. Assume I've populated the other necessary fields as those aren't the problem I need to solve.
The end result of the above is that I'll get ORDERHeader from DTA100, then DTA500, and so on, the next step would get ORDERDetail from DTA100, then DTA500, and so on.
What I WANT to do is process at ten files from DTA100, then all 10 files from DTA500, and the rest of the libraries. The problem is that the "TABLENAME" property in the synonym is full path. I dont' know how to concatenate text to populate the field.
In the "TABLENAME" property I'd like to do something like: &&LIBRARY + "/" + ORDERHeader Where &&LIBRARY is the DTA100, DTA500, etc. Notice I'm trying to construct the full path in the property. Can I do this? Can I do it here or does it need to happen in some sort of scripting?
I know this may be confusing, but using this product depends me being able to solve this problem.
Thanks in advance. Michael HenryThis message has been edited. Last edited by: FP Mod Chuck,
Thanks Chuck! What you provided is what I'm looking for except I don't see a code block for the scripting code.
Right now I don't have any code, just a flow accepting rows from a table (synonym), Then handing it off to another flow that has the source and target in it and assigns variables.
I've read a few user guides, but are there any materials to consume that would help me with the scripting like you mentioned? I'm a developer at heart and I think I would benefit greatly from learning how to flex this tool.