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
Define ds designer?
What are the benefits of datastage?
How to clean the datastage repository?
Differentiate between validated and Compiled in the Datastage?
which r the connectors used in san?
Which commands are used to import and export the datastage jobs?
What are the steps needed to create a simple basic datastage job?
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
Name the different types of Lookups in Datastage?
Demonstrate experience in maintaining quality process standards?
How do u convert the columns to rows in datastage?
How many Key we can define in remove duplicate stage?
What is use Array size in datastage
How can you write parallel routines in datastage PX?
What is quality stage?