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 aggtorec restructure operator?
What are orabulk and bcp stages?
How do you start developing a datastage project?
1)s.key generate 1 to 700 records today. tomorrow another 400 will updated how to update the records using s.key generator? 2)source is like :-- DB --> T/F stage1 --> seq1file T/f 1 is linking with T/F2 ---> seq 2 how to load the data? in source i given some conditions those r going in seq1. The another data will going to seq2 how to do this ?
What is the difference between odbc and drs stage?
1.new record it will insert but changes of natural key is not present in taget i want to update (here key is composite natural key )can any one help this to explan how to do
How will you move hashed file from one location to another location?
How will you load you daily/monthly jobs datas in to Fact and Dimension table using datastage.
In Datastage, how you can fix the truncated data error?
what is 'reconsideration error' and how can i respond to this error and how to debug this
Name the third party tools that can be used in datastage?
Define ds designer?
Differentiate between datastage and datastage tx?
what is repositery?
Give an idea of system variables.