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
Name the command line functions to import and export the DS jobs?
What is the difference between in process and inter process?
What are system variables and sequencers in datastage
How do you schedule or monitoring the job?
How to manage date conversion in Datastage?
CHANGE CAPTURE
how to sort two columns in single job in datastage.
how do u catch bad rows from OCI stage? And what CLI stands for?
Hi All , in PX Job I have passed 4 Parameters and when i run the same job in sequence i dont want to use those parameters , is this possible if yes then how
Difference between in process and inter process?
What are the various kinds of containers available in datastage?
How can one find bugs in job sequence?
in oracle target stage when we use load option and when we use upsert option?
Difference between ‘validated ok’ and ‘compiled’ in data stage?
Where do the datastage jobs get stored?