Answered Questions

  • null key in scan and dedup

    If we give NULL key in scan component what will be the output and in dedup with keep parameter as unique?

    Amaan Sajid Ansari

    • Nov 14th, 2018

    For unique only, the output for Dedup will be 0 records. While if you keep it to first or last it will be first or last record of each partition respectively.. While in case of scam it will treat the ...

    Krushna

    • Sep 6th, 2018

    If key is {} in sort then Data will not get sort. It gives as it is data which is received from in port

  • Cummulative summary in AB Initio

    How can I achieve cummulative sumary in AB Initio other than using SCAN component. Is there any inbuilt function available for that?

    mk_44

    • Feb 9th, 2016

    I guess below code can help for 3rd max else 1st max for each group key. Input_file --> sort (descending) --> Rollup --> output type temporary_type=record decimal("") rank ; decimal("") sal ...

    disha

    • Jan 22nd, 2016

    @Dinesh: but it is not taking care of the requirement, i.e. if there is no 3rd record, it should display the first highest sal. In the solution you mentioned it will display the second highest sal.