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 apt_config in datastage?
Input file one has data as shown below 1 2 3 4 5 6 7 8 Input file two has data like 6 7 8 9 10 11 Design a data stage job which will provide me three output files as shown below: Output 1 6 7 8 Output 2 1 2 3 4 5 Output 3 9 10 11 Let me know your answers
What is a delta record? How you will read it?
describe the Steps to confiure a Qlogic switch
Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.
What are the functionalities of link partitioner?
Hi this madan, in data stage one file in Empno 12345678910 in a table, i want target is Empno 1 2 3 4 5 6 7 8 9 10
Can we use target hash file as a lookup ?
how can we create rank using datastage?what is the meaning of rank?
What is the difference between passive stage and active stage?
How to generate surrogate key without using surrogate key stage?
What is meta stage?