how to get flatfile containg 10 records half records one
target another half another target

Answers were Sorted based on User's Feedback



how to get flatfile containg 10 records half records one target another half another target..

Answer / mahipal reddy

first create a sequence to those 10 records n using filter
or router transformation filter first 5 columns n load into
target similarly remianing 5 records.

Is This Answer Correct ?    5 Yes 0 No

how to get flatfile containg 10 records half records one target another half another target..

Answer / gazulas

what if the number 10 changes??

use a sql transfermation and get the record count or use an agg get rec count and pass it into record_count. use seq gen and populate the numbers. then use a router and write condition seq no <= record_count/2 -- target1

default to target 2.

this will work even ur records changes to 100 or 25o or 40000..etc

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Informatica Interview Questions

Can we use the mapping parameters or variables created in one mapping into another mapping?

1 Answers   Informatica,


What is the reusable transformation?

0 Answers  


Hi, If any hav Informatica n DWH FAQ's,Plz do fwd to vanibv6@gmail.com Thnx Vani

1 Answers  


What is best approach to load 100 different source files (Different structure) to differet target tables ?

2 Answers   IBM, TCS,


Do you have to change the reject file b4 using reject loader utility.

1 Answers  






Why can't we connect 2 active transformations to an active transformation ? Ex:- One aggriagator and one sq trans to an router transformation

1 Answers   Puma,


Where are the source flat files kept before running the session?

0 Answers   Informatica,


What are the issues that you have faced while moving your project from the Test Environment to the Production Environment?

1 Answers  


How do we implement materialized view?when to use materialized view?

1 Answers   TCS,


What is DR strategy for Informatica project?

0 Answers  


What is DTM process?

4 Answers  


How do you migrate data from one environment to another?

0 Answers  


Categories