Hello there,
Can anyone explain to me how to link two or more tables in the target database with a common column 'A'. Actually I am populating this(common) column in a table and tying to link this column with the other two tables.
Thanks in advace.
-Yamini
linking tables in target database
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Not sure what you mean by "link".
In DataStage, there is no awareness of relationships between tables, though this information is captured when you import a table definition.
Effectively you have two choices.
In DataStage, there is no awareness of relationships between tables, though this information is captured when you import a table definition.
Effectively you have two choices.
- You can update both tables in the one job, putting the same value into column A in each table.
You can update column A in table 1 in one job then, in a second job, pre-populate a hashed file with sufficient information to allow the correct value to be loaded into column A in table 2.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.