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

Explain what does dependency analysis mean in abinitio?

0 Answers  


Do you know what a local lookup is?

0 Answers  


How can you find the 2nd Highest salary in a file department wise in abinitio?

9 Answers   IBM, TCS,


why Skew should always be 0 ? How to use in abinitio graph?

1 Answers   IBM, TCL,


What is sandbox?

0 Answers  






How can a graph be run infinitely?

0 Answers  


What is the DynamicScriptGeneration and what is the Use?

2 Answers  


What is the significance of record required indicator of Join component ? How to use in abinitio graph?

2 Answers   IBM, TCL,


What exactly do you understand with the term data processing and businesses can trust this approach?

0 Answers  


What is air_project_parameters and air_sandbox_overrides? what is the relation between them?

1 Answers   IBM,


can we perform checkin and checkout through sandbox?

0 Answers  


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

3 Answers   TCL,


Categories