how can i get 2nd highest salary in datastage?can u send me
,thanQ
2)if i had source has 2 records 1st record ie 1st column
contains 1,2,3 and 2nd coulmn contains 10,10,10 i have to
get target as 2nd columns as 20,30,40 how can i?

Answer Posted / farzana kalluri

seq file--->sort(descending)stage--->surrogate key stage---
>target


sort tha data in descending order ,then it will shows from
highiest salary, after that keep surrogate key stage it
will automtaically generates the nos so that we can
identifiy the 2nd hieght salary .

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain tagbatch restructure operator?

705


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

740


EXPLAIN SCD

969


how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?

1921


How many types of hash files are there?

612






Which commands are used to import and export the datastage jobs?

983


What is a merge in datastage?

772


What are the types of containers in datastage?

705


If you want to use the same piece of code in different jobs, how will you achieve it?

636


Distinguish between informatica & datastage. Which one would you choose and why?

585


How one source columns or rows to be loaded in to two different tables?

664


Why do we use link partitioner and link collector in datastage?

685


What are the differences between datastage and informatica?

570


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

742


How can one find bugs in job sequence?

786