Hi
Can any one help regarding below
INPUT
NAME LOC
Ram hyd
Ram ban
Raj chn
Raj Pun
Sam del
OUPUT
NAME LOC
Ram Hyd ban
Raj chn pun
sam del
Answer Posted / vikram
1)Sort the input (name as key),keychange colum =true
we will get
name loc key..
ram hyd 0
ram ban 1
raj chn 0
raj pun 1
sam del 0
2)transformer
stage variable
svVar=if key..=0 then loc else svVar:loc
3) remove duplicate stage
retain duplicate last
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is orabulk stage?
how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?
What are the features of datastage flow designer?
What all are the different way to run a job?
What all the types of jobs you developed?
What are the enhancements made in datastage 7.5 compare with 7.0?
Is it possible to query a hash file?
hi.... am facing typical problem in every interview " I need some critical scenarios faced in real time" plz help me guys
What is datastage?
What is the difference between account and directory options ?
what is the difference between == and eq in UNIX shell scripting?
Can you explain tagbatch restructure operator?
How many Key we can define in remove duplicate stage?
Notification Activity
options available in sequence job to run,validate?