How can you find the 2nd Highest salary in a file department wise in abinitio?

Answer Posted / nikhil sali

We can use Scan.
1) First sort your data with 2 keys dept,salary description
2) In scan create one parameter say seq nbr and initialize it with 0.
3) in scan method increment it with 1
4) this will create rank in each group of dept
5) in output select method - select record where seq_nbr = 2

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the components new in 2.14 compared to 1.8 and State the usage of the components?

1720


Mention some file extensions which are used in abinitio?

624


What is is a data flow graph?

681


Dear all, Please send me the ab initio pdfs and faqs i need... my mail id is rrajesh.intel@gmail.com

1838


What exactly do you know about the typical data analysis?

605






How abinitio eme is segregated?

814


When using multiple dml statements to perform a single unit of work, is it preferable to use implicit or explicit transactions, and why?

675


Mention what dedup-component and replicate component does?

623


What is ab initio enterprise meta>environment (eme)?

898


How co> operating system natively processes the data?

624


What is the syntax for m_dump in abinitio?

1058


What is the difference between look-up file and look-up, with a relevant example?

711


What are differences between different gde versions(1.10,1.11,1.12,1.13and 1.15)?

645


Mention some ways for improving performance of a graph?

617


Explain PDL with an example?

821