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

how we can load rejected record's at run time?(not through bad files)

2379


Is it possible to create multiple domains on a single Informatica server?

1240


How can we remove the duplicates from flat file source?

1040


Explain how to import oracle sequence into informatica?

1012


How can you validate all mappings in the repository simultaneously?

1371


How do you handle two sessions in Informatica

1164


How do you load unique records into one target table and duplicate records into a different target table?

1260


What is a code page?

1178


State the differences between sql override and lookup override?

1208


Enlist the tasks for which source qualifier transformation is used.

1040


What is sorter transformation?

1046


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

2193


What does refresh system mean, and what are its distinctive choice?

1181


What is a standalone command task?

1204


Is it possible to revert a global repository to local one and why?

1081