how to load only the first and last record of a flat file
into the target?

Answer Posted / ram pothineni

Create a port in Expression t/r and generate a value for
each row using SEQ genrator, then in Agr take count of all
the records. Create 2 condition in router one with SEQ = 1
and another with SEQ = count of rows (this will give last
row). Connect both to target. Dont forget to give reset
option in SEQ generator.


http://it.toolbox.com/people/raambabuchowdary/

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the different versions of informatica?

657


What are the differences between a connected lookup and unconnected lookup?

654


Which is the t/r that builts only single cache memory?

714


4 yrs etl devloper roles and responsibilities?any body give solutions

1583


What is olap (on-line analytical processing?

647






What differs when we choose the sorted input for aggregator transformation?

575


What are the databases that informatica can connect to windows?

587


Whats there in global repository

1272


What is the Rank index port in Rank transformation?

672


How do you load first and last records into target table?

669


How many ways are there to do 'remove duplicate records in informatica'?

587


Can one use mapping parameter or variables created in one mapping into any other reusable transformation?

601


What are ETL Tools?

669


Explain the types of lookup transformation?

577


What are the various types of transformation?

646