how remove 1st 3 records & last 3 records in informatics

Answers were Sorted based on User's Feedback



how remove 1st 3 records & last 3 records in informatics..

Answer / venky

after sq transformation use exp transformation in that add
one port,and take seq generator trans and its properties
reset is enable,and link to the port in exp trans,after
that take filter trans and condition port>3,after that use
sorter trans in that take port desc,after that take exp
trans and create another new port,after that take seq gen
trans in properties resert as enable and link to the new
port,afer that use filter trans condition new port>3 and
connect to target.

this is the process u can do u wil get the result.pls try it
correctly

Is This Answer Correct ?    3 Yes 1 No

how remove 1st 3 records & last 3 records in informatics..

Answer / gyana

yes..very nice question

---------------------------
after SQ take two pipeline::::one to find 1st 3 record and another to find last 3 record
------------------------------------------
(1) from SQ connect an expression and into that expression connect a sequence generator to generate sequence.
After expression put a filter t/r (seq>=4) and pass to one target instance(T1)
(2) from SQ connect an expression and into that expression connect a sequence generator to generate sequence.
now take a RANK t/r and set the property as(bottom performer,rank on port SEQ,NUMBER OF rank=3).connect that to second target instance (T2)..it will give u last 3 records..

if any wrong pls send me mail......(gyana.informatica@gmail.com)

Is This Answer Correct ?    2 Yes 2 No

how remove 1st 3 records & last 3 records in informatics..

Answer / shaik

if i don't want to change the order of source data,then how
can we perform.....

Is This Answer Correct ?    0 Yes 2 No

how remove 1st 3 records & last 3 records in informatics..

Answer / davankumar p

2 pipelines,1st pipeline sorter t/r ascending order then
rank t/r top3
2nd pipeline sorter decending order then rank top3 t/r

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More Informatica Interview Questions

what is the look up transformation?

2 Answers   Informatica,


explain abt joiner t/r?

1 Answers   IBM,


How can we use batches?

0 Answers  


How to get EVEN & ODD numbers separately?

8 Answers  


without dynamic lookup transformation how to insert new rows and update existing rows?

7 Answers   Cap Gemini,






Explain about Recovering sessions?

1 Answers  


Plz can anybody send Informatica and Cognos FAQ Plz To thid ID ppradeep_dwh@yahoo.co.in

1 Answers  


Can anyone give some input on "Additional Concurrent Pipelines for Lookup Cache Creation" ? I know that this property is used to build caches in a mapping concurently. But which values should I set into this ( i.e. 1 or 2 or 3 or something else ) for concurrent cache building ?

1 Answers   Wipro,


How can we store previous session logs?

0 Answers  


When will you use SQL override in a lookup transformation?

1 Answers  


If there are more than one sessions running parallel in a worklet, which will be the last session ?

2 Answers  


Can any one give me a real time example for FACT TABLE & DIMENSIONAL TABLE?

2 Answers  


Categories