source
1123445
I WANT OUTPUT AS
DUPLICATES TO TARGET1 LIKE
TARGET1
1144
NON-DUPLICATES TO TARGET2
TARGET2
235
Answer Posted / subhash
Source
..|
..|
copy--->agg
..|.....|
..|.....|
join stage
....|
....|
Filter stage -----> target1
..|
..|
target2
the main data is:
1
1
2
3
4
4
5
from aggregator stage, the output is:
1,2
2,1
3,1
4,2
5,1
If you join these two links then the output will be:
1,2
1,2
2,1
3,1
4,2
4,2
5,1
Then specify the count<>1 in the Filter for target1 then you get the duplicate records. means YOU get:
1
1
4
4
in another link for target2, give count=1. means YOU get:
2
3
5
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is a ds designer?
client know skid info?
How many types of sorting methods are available in datastage?
Name the different types of Lookups in Datastage?
What are the different types of lookups in datastage?
How to convert RGB Value to Hexadecimal values in datastage?
how to sort two columns in single job in datastage.
What is a quality stage in datastage tool?
im new to this tool im now at project plz tell me step by step process how to design plz help me i wnt to go with exp for job plz give me d proper design and explination
Difference between IBM DATA STAGE8.5 and DATA STAGE9.1 ?
file having these input and we have to get 3 output using same job Input 1 1 1 2 3 4 4 4 o/p1 o/p2 o/p3 1 1 2 2 1 3 3 1 4 4 4
What are the job parameters?
in oracle target stage when we use load option and when we use upsert option?
Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC
How a routine is called in datastage job?