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...

if we have certain records,if i need to get 5 th rec for the
first time to the target,when i run it for next time,i need
to get 6th rec...like that it should process.what wil be the
procedure to achieve it??

Answer Posted / zer0

I guess this should work ........

Source --> SQ --> Exp --> Filter --> Exp --> Target
|
|
SG

Firstly create a mapping variable say $$count and give it
the default value 5.
Create a port in Expression say Srno. and connect the
sequence generator to it (so that it will mark the rownums).
Then in Filter place the condition Srno = $$count
In the second Expression create an extra port and give it
the value SETCOUNTVARIABLE($$count) (this will increment
the mapping variable).
Next time the job runs it will take value of $$count as 6
and so on ........

Kindly revert if this worked ........

Is This Answer Correct ?    20 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does a rank transform differ from aggregator transform functions max and min?

1203


Differences between connected and unconnected lookup?

1212


What is mapping debugger?

1012


How to display session logs based upon particular dates. If I want to display session logs for 1 week from a particular date how can I do it without using unix. ?

2033


how can we find the bottle neck in SQL Query in SOURCE QUALIFIER, and how can we tune it..?

7055


What are the differences between oltp and olap?

969


Why is sorter an active transformation?

1127


What is the difference between source qualifier transformations source filter to filter transformation?

1048


What are the prerequisite tasks to achieve the session partition?

1250


Can we use the mapping parameters or variables created in one mapping into any other reusable transformation?

1280


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

2056


What are mapplets?

1268


Which is the t/r that builts only single cache memory?

1190


What is workflow? What are the components of workflow manager?

1173


What is flashback table ? Advance thanks

1930