How will u remove header record? How will u remove tailer
record?

Answers were Sorted based on User's Feedback



How will u remove header record? How will u remove tailer record?..

Answer / aditya kundu

The simplest way to remove header and trailer records is to
use a dedup sorted component using a NULL key. This would
treat the entire record set as a single group. Then use
keep_first and keep_last mode of dedup sorted to select the
header and trailer records.

Another way to accomplish similar result set is using a
ROLLUP component on NULL key. Use the first and last
functions in rollup to select the header and trailer
records.

Is This Answer Correct ?    12 Yes 1 No

How will u remove header record? How will u remove tailer record?..

Answer / dhirendra

There can be many ways to remove header & trailer record
depending on the data you are receiving. If you have a
particular signature for header & Trailer record you can
use Filter by Expression or Partition By Expression
Component to remove the header & Trailer record. If you
don't have signature for your header & Trailer record then
you have to use reformat component to select only the data
record.

Is This Answer Correct ?    14 Yes 4 No

How will u remove header record? How will u remove tailer record?..

Answer / rit

if there is no clue about how the header and trailer would
be then put a filter with next_in_seq = 1 to remove the
header and dedup the whole input with all fields as key and
keep last to remove the trailer.

Is This Answer Correct ?    5 Yes 5 No

How will u remove header record? How will u remove tailer record?..

Answer / anonymouns

if there is a indicator field to differentiate header and
trailer we can use partition by expression component to
remove header and trailer or else use a run program
component to separate out header and trailer and use a join
component to join on all the fields ignore the matching
records, the records coming out of unused ports will be
only body records.

Is This Answer Correct ?    0 Yes 0 No

How will u remove header record? How will u remove tailer record?..

Answer / nag

Yes can be done with the help of REFORMATE component in
this use reformat out put index.if we use this we can get
what ever out we need.

OR
With the help of Run progame compnent.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Ab Initio Interview Questions

Which Ab initio version has Hadoop connector ? and what is the latest GDE version available ?

1 Answers   Infosys, TCS,


If m loading a file of 1 million records.and the graph fails after loading 10,000 records. In this case if we use rollback command then what will happen?

4 Answers   IBM,


What is abinitio?

0 Answers  


What is broadcasting and replicate?

0 Answers  


Within a cursor, how would you update fields on the row just fetched?

0 Answers  






What is the Reformat Layout?(i/p ->Reformat->o/p)

2 Answers   IBM,


What is data mapping and data modelling?

0 Answers  


What are the operations that support avoiding duplicate record?

0 Answers  


We know rollup component in abinitio is used to summarize group of data record then why do we use aggregation?

0 Answers  


Have you worked with packages?

0 Answers  


Explain how you can run a graph infinitely in ab initio?

0 Answers  


What are the differences between informatica and abinitio?

0 Answers  


Categories