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
Where do the datastage jobs get stored?
What are the job parameters?
EXPLAIN SCD
What is the difference between odbc and drs stage?
How to reverse the string using unix?
What is aggtorec restructure operator?
What all are the different way to run a job?
What are the partitioning techniques available in link partitioner?
What are the types of containers in datastage?
If you want to use the same piece of code in different jobs, how will you achieve it?
What are the types of containers?
8000 jobs r there i given commit, suddenly job will abort? what happens? 2)diff b/t transformer stage & filter stage? 3)how to load the data in the source?
What are the stages in datastage?
What is orabulk stage?
What is the use of datastage designer?