How will u remove header record? How will u remove tailer
record?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
What are differences between different versions of co-op?
How does PBK and Sort component and Join(in memory sort) work?I mean in the join component i have used In Memory Sort,so how will it work in terms of performence as compared with PBKand Sort Component?
what are the steps in actual ab initio graph processing including general,pre and post process settings?
. What is adhoc multifiles? How to use in abinitio graph?
In which scenario, .rec files will not get created even if graph fails ? How to use in abinitio graph?
What you can store, manage and reuse centrally in ab initio enterprise meta>environment (eme)?
What are the operations that support avoiding duplicate record?
Describe how you would ensure that database object definitions (tables, indices, constraints, triggers, users, logins, connection options, and server options etc)are consistent and repeatable between multiple database instances (i.e.: A test and production copy of a database)?
i have 2 files. First file contains a,b,c,d as rows and second file contains 1,2,3,4 as rows. how do we make single a1b2c3d4 and 4 different rows a1, b2, c3,d4.
What do you know about abinitio?
What is the use of aggregation when we have rollup as we know rollup component in abinitio is used to summarize a group of data record? Then where we will use aggregation?
Difference between informatica vs ab initio?