how can find maximum salary by using Remove duplicate stage?

Answer Posted / subbuchamala

For RMD Stage we need Grouping Keys, Add one extra hard coded Column to each Input records in previous stage.
DUMMY=1

In RMD Stage,
HASH partition on DUMMY, Sort DESC on Salary

and select DUMMY as Key in properties tab.
"Duplicate to Retain"=First.

then you will get only Highest Salart only from RMD Stage

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of hashed files in data stage

865


how to achieve this output ? Two Input columns(ID & Name) - ID | Name 1 | Jack 1 | Kara In output there should be only 1 column which will be populated as - 1,Jack 1,Kara

588


What are the difference types of stages?

820


There are two file are there .1st file contains 5 records and 2nd file contain 10 records in target they want 50 records.how can achieve this

2025


what is use of SDR function?

4906


What is ibm datastage?

761


Define oconv () and iconv () functions in datastage?

1109


Have you have ever worked in unix environment and why it is useful in datastage?

907


What is the difference between the local container and shared container?

854


Define data aggregation?

879


What are the some differences between 7.x and 8.x version of datastage?

996


What is ibm datastage flow designer?

891


What is meta stage?

932


What is the difference between hashfile and sequential file?

937


Hi, what is use of Macros,functions and Routines..? At what situation you are used. If you know the answer please explain it. Thanks.

1823