Hi Friends,
I have a input data like,
class_id Marks
101 50
101 60
101 40
102 90
102 35
And i want my output data like
class_id Marks Rank
101 50 2
101 60 1
101 40 3
102 90 1
102 35 2
how to do this in datastage?
Answer Posted / amulya kumar panda
you are use
transformer if (Marks > 50 or 40 <Marks ) then rank=2 else
if Marks > 60 then rank=1 else rank=4
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
What could be a data source system?
If we take 2 tables(like emp and dept),we use join stage and how to improve the performance?
what is the use of materialized view?
What is the difference between hashfile and sequential file?
what is the custome stage in datastage? how can we impliment that one? plz tell me
How do you import and export data into datastage?
What are sequencers?
Can you filter data in hashed file?
What are the areas of application?
What are the different common services in datastage?
What is meta stage?
Explain connectivity between datastage with datasources?
if we using two sources having same meta data and how to check the data in two sources is same or not? and if the data is not same i want to abort the job ?how we can do this?
Describe the architecture of datastage?
What is difference between join, merge and lookup stage?