source
1123445
I WANT OUTPUT AS
DUPLICATES TO TARGET1 LIKE
TARGET1
1144
NON-DUPLICATES TO TARGET2
TARGET2
235
Answer Posted / chaint
source1(112345) ----- lookup stage- reference lookup
on(source2 output)--reject link(1144) --output(235)
source2(112345) -- sort( get count) -> filter(only unique)
we would require two source..
one original and other only (non repeated records)
we will have a lookup stage with source1 as input and
source2 as reference lookup..
in lookup stage we will have a reject link(1144) non matched
records.. and output will be(235).
Kindly correct me if i m wrong
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Differentiate between Join, Merge and Lookup stage?
How many types of stage?
Describe the main features of datastage?
What are the job parameters?
What is the difference between odbc and drs stage?
i have a job with 3 possibiliies finish with ststus ok abbort warning how do you handle these 3 in job sequence? explain the situation where you have appiled scd in your project? chandu
What is the difference between server job and parallel jobs?
table actions available in oracle connector?
How to read the length of word in unix?
Can you define merge?
What are the different options associated with dsjob command?
In a batch if a job fails in between and you want to restart the batch from that particular job and not from the scratch then what will you do?
CHANGE CAPTURE
What are the components of ascential data stage?
Why do we use link partitioner and link collector in datastage?