One file contains header,body,trailer records and header in
a single row as well as trailer too.How to segregate these
header,trailer and body records and once it gets
segregated,i want to make the body data in reverse i.e if i
have 10 body records,the 10th record should be the first
record,9th record should be the second line,etc..

Answer Posted / dhirendra

Segregate the header, trailer & body by either using part
by expression component or using filter by exp. Use
next_in_sequence() function to a new column of the data
record. Use sort on descending to sort the data on the
next_in_sequence() column.

Is This Answer Correct ?    17 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What information does a .dbc file extension provides to connect to the database?

926


Mention what dedup-component and replicate component does?

800


difference between paramaters inputparameters,Local parameters, Formal parameters, Sand box parameters,Project parameters and export parameter?

2506


What are the Types of parallelism in detail?

867


What is broadcasting and replicate?

884


Name any two stages of the data processing cycle and provide your answer in terms of a comparative study of them?

847


Have you ever encountered an error called “depth not equal”?

877


Explain how abinitio eme is segregated?

1168


How to add default rules in transformer?

890


What is the difference between sandbox and EME?

927


What will be the skew for, input file->partition by key-> partition by round robin->output file

620


What are the operations that support avoiding duplicate record?

1152


Describe the evaluation of parameters order in ab initio?

1213


What are the features of ab initio?

828


Can you explain the co>operating system’s processing model?

820