Can any body give me the clear explanation about how to
separate header,trailer and body records in Ab Initio?

Answers were Sorted based on User's Feedback



Can any body give me the clear explanation about how to separate header,trailer and body records in..

Answer / anvesh vuppu

You will be having an indicator field(sth like
record_indicator which will identify whether the record is
a header or trailer or detailed.) in your DML. So, use a
partion by expression component in your graph and based on
the indicator values, separate the records.

i.e. give the expression in the PBE component sth like:

if(record_indicator == "H") 0 else if(record_indicator
== "T") 1 else 2;

Is This Answer Correct ?    11 Yes 0 No

Can any body give me the clear explanation about how to separate header,trailer and body records in..

Answer / ramakrishna

use next_in_sequence>=1 in reformat to remove header and
use entire record as a parameter in dedup and eliminate the
trailer record

Is This Answer Correct ?    5 Yes 4 No

Post New Answer

More Ab Initio Interview Questions

How will you check the latest versions in EME?

6 Answers  


. How can you get all the fields form a lookup files ? (Which function)

3 Answers   TCL,


what is the difference between the .dbc and .cfg extensions and give any clear information ?

4 Answers   Cognizant,


How to create a repository in abinitio for stand-alone system(local nt)?

0 Answers  


what is the difference between ab_work_dir and .work

2 Answers   TCS,






What is Is_defined(), Is_null(), Is_Blank()?

1 Answers   TCS,


State the first_defined function with an example?

1 Answers  


What do you mean by the term data warehousing?

0 Answers  


How to run the graph without GDE?

1 Answers  


What is local and formal parameter?

0 Answers  


how will i can implement Insert a new record (if not present in Input file),Update the record (if present in input) a csv file in Abinitio

0 Answers  


How to convert a single column values 1 2 3 4 to single row of 4 columns ? And vice-versa

0 Answers  


Categories