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

How to load last 10 records of flat file in to the target?

Answer Posted / kalpesh radadia

SQ---- Exp ---- Sorter----Exp --- Filter---Sorter ---
Target.
Connect the source qualifier transfromation to an
expression transformation. In the expression
transformation, create the below ports:
v_cnt (variable port) = v_cnt+1
o_cnt (output_port) = v_cnt
Connect the expression transformation to the sorter
transformation. Sort the rows on the o_cnt port in
descending order.
Now connect the sorter transformation to the expression
transformation (do not connect o_cnt port).
Again Connect to expression transformation create the ports
mentioned above
v_cnt (variable port) = v_cnt+1 o_cnt
(output_port) = v_cnt
Connect to a filter transformation and specify the filter
condition as o_cnt<=N
Connect the expression transformation to the sorter
transformation. Sort the rows on the o_cnt port in
descending order.
Connec to the target

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between informatica 7.0 and 8.0?

1013


How to use procedural logic inside infromatica? If yes how, if now how can we use external procedural logic in informatica?

1130


What is the difference between SOURCE and TARGET BASED COMMITS? What are the deliverables?in your project?

2120


What is the scenario which compels informatica server to reject files?

1070


Explain the etl program with few examples.

1048


What are the tasks that can be performed using sq?

1091


What is a passive transformation?

1102


Define filter transformation?

1095


I have a flat file, want to reverse the contents of the flat file

1126


How to create or import flat file definition in to the warehouse designer?

1067


What is a joiner transformation and why it is an active one?

1078


What are the challenges you have faced in your Project (DWH- ETL)? Explain with example?

8201


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

7057


What is meant by pre and post session shell command?

1155


what are the deliverables?in your project?

2150