Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / harish konda

We can achieve this by using Mapping Variable and Mod function.
Create a mapping var. and using the SetVariable() fun increment its value by 1 every time when the session runs succesfully.
And in the Router create 3 groups and give the conditions, Mod($$var,3)=0,Mod($$var,3)=1,Mod($$var,3)=2.
And map each group of Router to 3 different Targets.

Is This Answer Correct ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to handle decimal places while importing a flatfile into informatica?

1140


What are the transformations that cannot be placed between the sort origin and the joiner transformation so that we do not lose the input sort order?

1113


what is the difference between informatica6.1 and infomatica7.1

2199


in reporting we add some new objects,how we get the count of the newly added objects to the report

2146


can anyone suggest best free Talend data integration training online

1632


What is the procedure for creating independent data marts from informatica 7.1?

1015


Explain direct and indirect flat file loading (source file type) - informatica

1274


How you prepared reports for OLAP?

1560


my source is junk data how will u remove that junk data by using unix please any one replay me

3658


What is intricate mapping?

1108


What are the types of schemas we have in data warehouse and what are the difference between them?

899


What is the status code in stored procedure transformation?

1130


What is repository manager?

939


How many types of sessions are there in informatica.please explain them?

1120


What is the difference between router and filter?

1171