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

Explain why we use partitioning the session in informatica?

0 Answers  


How does the session recovery work.

1 Answers  


Design a mapping to get the pervious row salary for the current row. If there is no pervious row exists for the current row, then the pervious row salary should be displayed as null.

0 Answers   Informatica,


Can you copy the batches?

3 Answers  


what is mystery dimension?

1 Answers  






I have source like this 1:2;3. so i want to load the target as 123

4 Answers   HP,


write a sql query following source? subject mark maths 30 science 20 social 80 requird output maths science social 30 20 80

3 Answers   iGate,


where to select code page option?

2 Answers   TCS,


What are the advantages of informatica?

0 Answers  


Explain the various test procedures used to check whether the data is loaded in the backend, performance of the mapping, and quality of the data loaded in informatica?

0 Answers  


What is informatica powercenter repository?

0 Answers  


how will you remove the duplicate records from flat file without using sorter?

7 Answers  


Categories