file1
1
2
3
4
file2
3
4
5
6
output should be in three targets
T1 T2 T3
1 3 5
2 4 6
how to do this? can any one help?
Thanks
Answers were Sorted based on User's Feedback
Using change capture stage:
File1(Master),File2----> change capture---> Filter ---->
T1, T2, T3
In Filter,
Change_code=1 then send then to T1-->(Insert records)
Change_code=0 then send then to T2-->(Copy records)
Change_code=2 then send then to T3-->(Delete records)
| Is This Answer Correct ? | 24 Yes | 1 No |
Answer / yuvraj
This can be done using change capture stage:
Seq1,Seq2 ----> change capture (here keep Drop Output for
copy : False) ---> Filter ----> seq1,seq2,seq3
from this above output will get
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sekhar
Use Full outer join and propagate left and right links into transformer.If records are not matched nulls will be populated.Identify nulls in both left and right links you will get two target and for third target just write in Contraints-isnotnull(leftlink and rightlink)-Target 2
-Isnull(leftlink.Inputcolumn)-Target1
-Isnull(Rightlink.Inputcolumn)-Target3
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / prabhu rathnam
Seq1,Seq2--->join--->removeduplicate---->filter--->trg1,trg2,trg3
| Is This Answer Correct ? | 0 Yes | 0 No |
What is datastage engine?
Whats difference betweeen operational data stage (ods) and data warehouse?
how do u convert date in 20-12-07 to dec-20-2007 or 20-dec- 2007 or 20-dec-07 in parallel
How to create a doccument in datastage?
What is a datastage job?
1)Source file contains one record, I want 100 records in target file.
if we using two sources having same meta data and how to check the data in two sources is same or not? and if the data is not same i want to abort the job ?how we can do this?
I have a few records just I want to store each records tow times in target how?
How many jobs in ur project? Explain any complex job u have done in ur project?
What is the difference between validated and compiled in the datastage?
how may datastage variables/parameters will be in trnsformer stage? 1 2 3 4 ?
What is RCP?