Answered Questions

  • Sorting using reformat component in Abinitio

    Can i sort the data using reformat component in Abinitio, If yes,Then how?

    Praveen

    • Sep 18th, 2016

    You would have declared the it as string. Ex: string(|)[integer(2)]. That is why it is sorted as how string would be sorted. Declare it as decimal. Ex: decimal(|)[integer(2)]. It will sort in the right way

    Archisma Ghosal

    • Sep 11th, 2016

    Hi all,
    I have found a problem with vector sort. Whenever we are trying to sort (17,16,5,89) it will give the value (16,17,5,89) whenever it is encountering 1 first it is ignoring 5. Can you help me with this?

  • How to convert rows into columns and column into rows in abinitio

    I have a scenario: Input file Col1 col2 1 A 2 B 3 C 4 D and desired output should be like below: col1 1 2 3 4 col2 A B C D Could you please help

    Kanimozhi

    • Nov 18th, 2021

    Col1 col2
    A 1
    B 2
    C 3

    ravichcv85

    • Dec 23rd, 2015

    By Using "meta pivot component" - we can change the input data into
    col1 1
    col2 A
    col1 2
    col2 B
    col1 3
    col2 C

    In order to get the desired output -

    col1 1 2 3 4
    col2 A B C D

    we need feed the output of "META PIVOT" component to De-normalize component.

  • 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.