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 / avijit

Filter the header and trailer records by using FBE or you can use dedupsort.
i/p-->Dedupsort(Keep 1st)-->Dedupsort(Keep last)-->Reformat(out.Rank::next_in_sequence())-->Sort(Rank,Desc)-->o/p

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between informatica vs ab initio?

715


Pdl with an example?

656


can we perform checkin and checkout through sandbox?

719


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

421


What is the architecture of abinitio?

666






To which project that prefix will set is to private project or public project or both?how and where to set?

1399


What is the use of the co> operating system in ab initio?

617


What do you mean by a transaction file and how it is different from that of a sort file?

633


What are “business rules” in ab initio business rules environment (bre)?

1426


What are the different types of partition components in abinitio?

770


Explain batch processing in ab initio?

918


What are the types of data processing you are familiar with?

703


When running a stored procedure definition script how would you guarantee the definition could be rolled back in the event of problems?

657


What is the function you would use to transfer a string into a decimal?

726


What metadata importer can do in ab initio?

703