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 are the different options available for update strategy?

0 Answers  


Performance tuning in UNIX for informatica mappings?

0 Answers   CGI, CTC,


in realtime which situations u can use unconnected lookup transformation

2 Answers   Patni,


What is informatica metadata and where is it stored?

0 Answers  


wt is inline view? when and why we Use ?mail to rayallarv@gmail.com

2 Answers  






What are the different options used to configure the sequential batches?

2 Answers   Wipro,


WHAT IS THE DIFFERENCE B/W 7.X AND 8.X ? TELL ME FEW DIFFERENCES.

2 Answers  


What are the basic needs to join two sources in a source qualifier?

3 Answers  


What is the use of transformation?

0 Answers  


a soure table has 100 records how to load into 3 target tables in a cumulative order source target1 target2 target3 --------- ------------------------------------- 1-100 1 2 3 4 5 6 - - - 98 99 100

2 Answers   Cap Gemini,


Please let me know how we can implement the below scenario. In a single mapping,more than 500 sources (legacy,VSAM,relational) will be loading into only one target. Whenever I retreive the data(any record) from target, i need to find the details that the record belongs to which source. Thanks in advance..

5 Answers   iGate,


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

0 Answers   TCS,


Categories