Answered Questions

  • Append Records

    How do we append records to an already existing file usin abinitio graph?

    abmaahi

    • Apr 2nd, 2010

    if you want to append the record to same out put file just  go to acess in properties window there you will find the option s uncheck the option "delete file if tits exit" and check the...

    Mihira Barik

    • Nov 9th, 2009

    Create a graph by taking the existing file as the out put file and keep the mode of the output file in Append Mode. Pass the new records from the input file to this output file through a reformat. This will append new records in the existing File.

  • Print numbers in the reverse order

    Write a shell script that accept any number of arguments and print them in the reverse order

    PREM

    • Jun 16th, 2014

    PRINT A NUMBER IN REVERSE

    Code
    1.        $echo "12345678" | rev

    Sonali Sehgal

    • Jan 15th, 2013

    In PERL, we can reverse the string as follows:-

    Code
    1. $x="12345678";

  • Force_error Function

    How does force_error function work ? If we set never abort in reformat , will force_error stop the graph or will it continue to process the next set of records ?

    raja

    • Feb 9th, 2015

    Force_error function will not throw any error when we keep the reject threshold as never abort. but it will reject all unwanted records per requirement and will provide you the message.

  • How to avoid duplicates without using dedup component?

    Amruta

    • Jan 9th, 2021

    What I am thinking is to sort the data 1st and then use scan component--Give key and define temp variable which will generate sequence per group.....in output select seq number as 1...This will reduce duplicates and give distinct record at output

    karti

    • Aug 31st, 2020

    It works if input is like below only
    i/p
    1
    1
    2
    2
    2
    3
    3