I have one source table and three target tables.
When the session runs for the first time involving the
mapping,i want that the loading should take place in 1st
Target table only.
The 2nd time the same session runs the loading should take
place in 2nd Target only only
and similarly when the session runs for the 3rd time loading
should take place in Third only.
And again when the session runs for the 4th time loading
should take place in 1st Target table.

Answer Posted / bhupal

Hi all,

Use sequence generator to generate the sequence.
properties should be
start value=1
end value=3
check the cycle option.

connect this nextvalue port to router and make there groups.

group_1----> nextvalue=1
group_2----> nextvalue=2
group_3----> nextvalue=3


connect first group to first target and second group to second target and then third to third.


flow will be like this
sequence generator
|
source---->source qualifier---->router--------Target 1
|-----------Target 2
|-----------Target 3


please let me know if you have any new questions.
mail id: bhupalreddy200@gmail.com

Is This Answer Correct ?    1 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to update or delete the rows in a target, which do not have key fields?

651


What is the meaning of decode in informatica?

644


My source is delimited flat file Flat file data is H|Date D1|ravi|bangalore D2|raju|pune T|4 The data will be send to target if the fallowing two conditions satisfied 1.The first row Date column is equal to SYSDATE 2.Last record second port equal to number of records. How to achieve?

5567


What is sq transformation?

658


Name the different lookup cache(s)?

704






What is meant by lookup transformation? Explain the types of lookup transformation?

566


How does a sorter cache works?

563


Plz can any one say me how to get the informatica certification materials and dumps

1595


is there any way to read the ms excel datas directly into informatica?like is there any possibilities to take excel file as target?

620


What are the different types of repositories created using informatica?

654


What is a dimensional model?

582


can any one explain me what i have to tell about insurance project in interview,,,,when he asked to tell about ur project

2133


Explain the features of connected and unconnected lookup.

543


What is a snowflake schema?

565


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

1569