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 a source either file or db table

Eno ename sal dept
101 sri 100 1
102 seeta 200 2
103 lax 300 3
104 ravam 76 1
105 soorp 120 2

Want to run a session 3 times.

First time: it should populate dept 1
Second time: dept 2 only
Third time: dept 3 only

How can we do this?

Answer Posted / srinivas

create a mapping variable
example;
name type datatype pre scal agg
$variablename variable decimal 3 0 max

filter transformation
filter condition: setvariable($variablename,($variablename+1))

+1 is used as the consecutive deptno diff is 1

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1199


What are Dimensional table?

1053


Tell me about your experience in informatica? what is best mark you can give yourself? How to answer this question?

8219


Differences between connected and unconnected lookup?

1212


Quickly characterize reusable change?

1118


what kind of issue you will get in environment? (we ll call help desk to raise ticket rite?

2056


Do you find any difficulty while working with flat files as source and target?

1098


If i have source as flat file. how can i store the header and trilor into one target and data into one more target. |------>target1(header+trailor) source------ |------>target2(data) can any one please help me

2003


Implementation methodology

1710


How to do the error handling of if ur source is flatfiles?

1968


Which transformation is needed while using the Cobol sources as source definitions?

1170


How we can create indexes after completing the load process?

1158


draw informatica architecture 8.6 ?

3871


what is Active lock explain

2797


What is the commit type if you have a transaction control transformation in the mapping?

1030