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 meta stage?
What are the features of datastage flow designer?
How to reverse the string using SQL?
in oracle target stage when we use load option and when we use upsert option?
How many types of stage?
Explain entity, attribute and relationship in datastage?
Difference between in process and inter process?
How many Key we can define in remove duplicate stage?
DB2 connector> transformer > sequential file Data will be exported into a csv format in a sequential file. This file will be send in a email using a sequence job. Problem here is, how to avoid sending a blank csv file? When I ran the job there are chances that it might return zero records but in the sequence job csv file is going blank. how can I avoid this? thanks
Does datastage support slowly changing dimensions ?
What are stage variables and constants?
Can you explain players in datastage?
Why do you need stage variables?
What a datastage macro?
Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.