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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various kinds of containers available in datastage?

580


How many Key we can define in remove duplicate stage?

831


what is the use of skid in reporting?

1961


What is difference between server jobs & parallel jobs?

637


What is a quality stage in datastage tool?

640






How to perform incremental load in datastage?

686


EXPLAIN SCD

977


What are system variables and sequencers in datastage

619


What is the difference between informatica and datastage?

666


How many areas for files does datastage have?

652


What is a merge?

684


Hi, what is use of Macros,functions and Routines..? At what situation you are used. If you know the answer please explain it. Thanks.

1628


how can we validate the flat files using the date in the header and number of records in the flat file? Using both conditions at a time.

2742


hi.... am facing typical problem in every interview " I need some critical scenarios faced in real time" plz help me guys

2434


What are routines in datastage? Enlist various types of routines.

643