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
what is ds administrator used for?
disign the complex job in u r project?(they are aksing only complex job design and then data flow...)
What is data partitioning?
What are the different type of jobs in datastage?
How to Remove Duplicate using SQL?
What is the purpose of interprocessor stage in server jobs?
how do u catch bad rows from OCI stage? And what CLI stands for?
What are the functionalities of link partitioner?
What are the types of views in datastage director?
What is difference between join, merge and lookup stage?
I have a few records just I want to store data in to targets cycling way how?
Difference between in process and inter process?
DB2 connector> transformer > sequential file Data will be exported into a csv format in a sequential file. This file will be send in a email using a sequence job. Problem here is, how to avoid sending a blank csv file? When I ran the job there are chances that it might return zero records but in the sequence job csv file is going blank. how can I avoid this? thanks
Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?
What is the importance of the exception activity in datastage?