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

Answer Posted / vital_parsley

1)use a reformat.
2)Global variable which increments with every records only
if previous record is not equal to current record
3) output_select where sal == 2

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data mapping and data modelling?

1082


Tell us about the architecture of abinitio.

743


46.How you can create cross joined output using join component ? 47.What is the default layout of watcher files ? How to use in abinitio graph? 48.Why you get 'too many open files' error ? How to use in abinitio graph? 49.What is the significance of vnode folder under AB_WORK_DIR ? How to use in abinitio graph? 50, What is the significance AB_AIR_BRANCH? How to use in abinitio graph? 51. How can you select only unique records from a set of records ? How to use in abinitio graph? 52. How next_in_sequence work in parallel layout ? How to use in abinitio graph? 53. Why you want to set a modest number in limit ? How to use in abinitio graph? 54. How you can encrypt a password and use it in dbc file? How to use in abinitio graph? 55. Which function you should be using if you do not want to process non printable char from a feed file ? How to use in abinitio graph? 56. How you can run a component for certain conditions ? How to use in abinitio graph? 56. What is catalog and when you should use it ? How to use in abinitio graph? 57. How you can use reformat as a router ? How to use in abinitio graph? 58. How many process gets created for a n-way parallel component ? How to use in abinitio graph? 59. Why delimited DMLs take more time to process than fixed length DMLs? How to use in abinitio graph? 60. How can you select only first and last record from a file without using next_in_sequence? How to use in abinitio graph? 61.Why you should always keep largest input as driving input for Join ? How to use in abinitio graph? 62. What a catalog file contains ? How to use in abinitio graph? 63. What Is private project and public project ? How to use in abinitio graph? 64. Why you should not use checkpoint after replicate ? How

5334


When we should use 'jobid' for commit table (Output table component?? How to use in abinitio graph?

2046


Why is data processing considered beneficial?

697






What is the difference between a scan component and a rollup component?

732


What is the difference between dml expression and xfr expression?

749


What you can store, manage and reuse centrally in ab initio enterprise meta>environment (eme)?

837


State the relation between EME, GDE and Co-operating system?

771


Suppose you find the term validation mentioned with a set of data, what does that simply represent?

680


Have you used the rollup component? Describe how?

728


To which project that prefix will set is to private project or public project or both?how and where to set?

1485


what is the project environment(for each project the environment is same or different to different project)?

1762


Explain data flow graph with an example?

727


What dedup-component and replicate component does?

852