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 is the command line function to import and export the ds jobs?

680


Define Job control?

675


What is the roundrobin collector?

635


explain about completely flow of sequencers technicaly,without using example??explain about lookup,nullhandling?

1927


What is the difference between orabulk and bcp stages?

572






Demonstrate experience in maintaining quality process standards?

1927


Can you explain tagbatch restructure operator?

699


How to manage date conversion in Datastage?

638


What is the Environment Variable need to Set to TRIM in Project Level?(In transfermer, we TRIM function but I need to impliment this project level using Environment variable)

1896


Can you explain link buffering?

724


How rejected rows are managed in datastage?

915


Enlist various types of routines in datastage.

643


Differentiate between operational datastage (ods) and data warehouse?

672


Hi everyone,I have kept a project Sales And Distribution for a pharmaceutical company.can anybody explain one complex business rule that we had in our project and how did you accomplish it using DS?

1757


1.new record it will insert but changes of natural key is not present in taget i want to update (here key is composite natural key )can any one help this to explan how to do

1649