i want send my all duplicate record one tar and all uniq
records one target how we will perfome explain
example:
input data
eid
251
251
456
456
951
985
out put/target1
251
251
456
456
out put/target2
951
985
how we will bring
Answer Posted / vinod upputuri
Unfortunately, I didn't got the logic behind the YOUR answer.
According your logic: from aggregator stage: the output is this: 251,2
456,2
951,1
985,1
the main data is:
251
251
456
456
951
985
If you join these two links then:
251
251
456
456
951
985
251,2
456,2
951,1
985,1
Then your are specifying that count=1 then you get the unique records.
in another link count<>1 means YOU get 251
456
Unfortunately this is not our desired out put, our out put is: 251
251
456
456
SO, YOUR LOGIC IS NOT ACCEPTABLE. TRY TO THINK FOR DESIRED OUTPUT !!!!
in order to get the desired out put i using the lookup-stage
in lookup i am going to lookup the out put from filter stage which is 951,985 with main data there i will specify the condition as reject:
so YOU will get the desired output!!!!!
If you can prove the above logic is wrong send me the mail!!!!
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Can you filter data in hashed file?
Explain datastage architecture?
how can we validate the flat files using the date in the header and number of records in the flat file? Using both conditions at a time.
How do you run datastage job from the command line?
CHANGE CAPTURE
What are the primary usages of datastage tool?
Can you explain engine tier in information server?
What could be a data source system?
8000 jobs r there i given commit, suddenly job will abort? what happens? 2)diff b/t transformer stage & filter stage? 3)how to load the data in the source?
How many areas for files does datastage have?
What are the processing stages?
Can you explain repository tables in datastage?
What is the difference between an operational datastage and a data warehouse?
What is ds designer?
What are the components of datastage?