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

can u any challenge your project?

1971


Parameter and variable differences

2002


What is the way to execute pl/sql script using informatica mapping?

1507


what are the Methods For Creating Reusable Transformations?

1098


What can we do to improve the performance of informatica aggregator transformation?

1041


Where do we use mapping variables in informatica?

995


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

966


Why sorter is an active transformation?

1130


What are active and passive transformations?

1017


What do you understand by SOA of Informatica?

921


what are factless facts? And in which scenario will you use such kinds of fact tables.

1738


What is dimensional table? Explain the different dimensions.

1108


What is session task and command task?

1174


Explain lookup transformation is active in informatica

1031


What is olap (on-line analytical processing?

1006