How to get max salary of an organization using data stage
stages...........

can any body help me plz.......

Answer Posted / nandhini

Create one dummy key and set the value as 1 for all input
columns and use remove duplicate stage. Here use this dummy
as key and use sorting, partitioning for dummy and company
columns & use sorting (descending) for salary column and in
properties tab, select duplicate to retain as last.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to read multiple files using a single datastage job if files have the same metadata?

728


hi.... am facing typical problem in every interview " I need some critical scenarios faced in real time" plz help me guys

2420


Explain ibm infosphere information server and highlight its main features?

600


What is the difference between informatica and datastage?

650


Define Merge?

870






Describe stream connector?

820


disign the complex job in u r project?(they are aksing only complex job design and then data flow...)

2070


A signal has a wavelength of 1 micro min in air.how far can the front of the wave travel during 1000periods?

2020


what are the errors,warnings in datastage

2140


what is stage is used for below Input columns: dept|mgr|employee|salary Output columns: mgr|count of employee per mgr|avg salary per dept note: each dept has one mgr and each mgr has many employees

655


how can we validate the flat files using the date in the header and number of records in the flat file? Using both conditions at a time.

2719


how many rows sorted in sort stage by default in server jobs

3549


What is the Environment Variable need to Set to TRIM in Project Level?(In transfermer, we TRIM function but I need to impliment this project level using Environment variable)

1891


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

871


How many types of sorting methods are available in datastage?

624