Q.How can we count a number of records in a flat file using Abinitio? A. Using the aggregate function "count" Or Use rollup component to count the number of record in the flat file. Use {} as key in the key specifier. It will consider all the fields as one record and count the total number of records. Q. How do we use SCD Types in the Abinitio graphs? A. Q. What is the order of execution of a graph when it runs? A. Order of Graph Execution 1. Initialisation of Parameters 2. Start script execution 3. Graph execution 4. End script execution Q. How to calculate the total number of records in the file using REFORMAT instead of ROLLUP? A. Via its log port. Or Connect reformat to log port and use this code and in select parameter specify event_type "finish" type reformat_final_msg record decimal("records") read_count; string("readn") filler_read; decimal("records") written_count; string("writtenn") filler_written; decimal("records") rejected_count; string("rejected") filler_rejected; end; out::reformat(in) begin out.rec_count :1: string_lrtrim(reinterpret_as(reformat_final_msg in.event_text).read_count); end; Q. How do we append records to an already existing file usin abinitio graph? A. 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.
Q. What is output index? How does it work in reformat? Does below function show Output index in use output:1:if(in.emp.sal
Thank you for interesting in our services. We are a non-profit group that run this website to share documents. We need your help to maintenance this website.