I am having the 2 source files A and B and I want to get the
output as, the data which is in file A and which doesn't in
file B to a target 1 and which is in file B and which doesn't
in file A to a target 2?

Answer Posted / chandra swain(hara)

mapping for above job

fileA---->joinstage---->transformer------->dataset1
^ ------>dataset2
|
|
fileB


go to joinstage ,take type of join is fullouter join,

then copy the i/p column to o/p link ,goto transformer stage
u 'll found 2 constraint tab ,in 1st constraint tab write
leftRec_column<>rightRec_column And LeftRec_column<>0,

similarly in 2nd constraint tab write
leftRec_column<>rightRec_column And RIGHTRec_column<>0

then copy only LeftRec_column to dataset1
and copy only RightRec_column to dataset2


i think u definitly get the correct answer

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what should be ensure to run the sequence job so that if its get aborted in 10th job before 9job should get succeeded?

1042


How will you move hashed file from one location to another location?

1773


What are the differences between datastage and informatica?

680


Explain connectivity between datastage with datasources?

687


Why fact table is in normal form?

770






What are the types of jobs we have in datastage?

761


What is the project in datastage?

759


What is the roundrobin collector?

738


What are the functionalities of link partitioner and link collector?

681


How a routine is called in datastage job?

703


What is the purpose of pivot stage and types of containers in datastage

709


Differentiate between data file and descriptor file?

701


Where do you see different stages in the designer?

731


What is the purpose of interprocessor stage in server jobs?

1828


Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.

1786