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 the purpose of interprocessor stage in server jobs?
What are the types of hashed files in data stage
describe the Steps to confiure a Qlogic switch
How to clean the datastage repository?
Source has 2 columns: USA,NewYork INDIA,MUMBAI INDIA,DELHI UDS,CHICAGO INDIA,PUNE i want data in target like below: INDIA,MUMBAI1 INDIA,DELHI2 INDIA,PUNE3 USA,NEWYORK1 USA,CHICAGO2
how to delete one row in target dataset
What are the important features of datastage?
What is the purpose of pivot stage?
Which algorithm you used for your hashfile?
What are the areas of application?
What is the difference between an operational datastage and a data warehouse?
Can you explain engine tier in information server?
Define project in datastage?
What are the types of containers and how to create them?
What is orabulk stage?