we have 6 records in source , i need 2nd record in one
target and 5th record in one target or 2nd & 5th record in
same target.

Answers were Sorted based on User's Feedback



we have 6 records in source , i need 2nd record in one target and 5th record in one target or 2nd..

Answer / radha

We can use Router t/r also.
create as many conditions u want.
say, if rownum=2 then flow the data to target 1
if rownum=5 then flow to another target
go on....

Is This Answer Correct ?    8 Yes 3 No

we have 6 records in source , i need 2nd record in one target and 5th record in one target or 2nd..

Answer / ssrinivas624

any one heard about cume()function...
Using cume() funtction we can achieve this...
take any expresion after source qualifier add a row_cume
port and write an expression like cume(1)...
take a filter t/r write row_cume = 2 OR row_cume = 5 in
condition tab. Like any number of different rows u can
get...

two targets...
--->FILTER--->TARGET1
SQ--->EXP
--->FILTER--->TARGET2

same target...
SQ--->EXP--->FILTER--->TARGET


in the place of two filters u can go for router also...

Is This Answer Correct ?    5 Yes 0 No

we have 6 records in source , i need 2nd record in one target and 5th record in one target or 2nd..

Answer / lvpr

Another way is to use rank t/r and load data to target by
filtering 2 and 5 rows.

Is This Answer Correct ?    4 Yes 2 No

we have 6 records in source , i need 2nd record in one target and 5th record in one target or 2nd..

Answer / lvpr

Use two pipe lines...first pipeline add sequence gen t/r
and send data to dummy target...

In second pipeline take first pipe line's target as source
as we have seq numbers for each row now route 2 and 5 row
to diff target's or to same target

Is This Answer Correct ?    2 Yes 2 No

we have 6 records in source , i need 2nd record in one target and 5th record in one target or 2nd..

Answer / lokesh

src->sq->seq_gen->exp->flt->targer

in seq_gen property's put cycle 3,

write a condition as a nextlevel=2, insert into target.

Is This Answer Correct ?    0 Yes 0 No

we have 6 records in source , i need 2nd record in one target and 5th record in one target or 2nd..

Answer / raja

by using router it solve it.it is the best method to insert the data in to each target.

Is This Answer Correct ?    0 Yes 0 No

we have 6 records in source , i need 2nd record in one target and 5th record in one target or 2nd..

Answer / pavan

using Router transformation we can solve this.
create as many conditions u want.
Suppose,if rownum=2 then flow the data to target 1
if rownum=5 then flow to another target
go on....

Is This Answer Correct ?    0 Yes 0 No

we have 6 records in source , i need 2nd record in one target and 5th record in one target or 2nd..

Answer / sateesh

Source-->SQ-->SequenceGenerator-->Exp-->Rtr-->Target

In Exp Transformation assign a variable port like v_num=10;

In Rtr Transformation use defined group give a condition
like

IIF(curvar>1,IIF(Mod(v_num,curvar)=0,0,1),1)

Please correct me if am wrong.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Informatica Interview Questions

can we override a native sql query within informatica? Where do we do it? How do we do it?

0 Answers  


What are the joiner caches?

3 Answers   Informatica,


What is difference between maplet and reusable transformation?

2 Answers  


What all are steps in up gradation of Informatica server?

0 Answers  


What is an Integration service in Informatica?

0 Answers  






My i/p is 1,2,3,4,5,6,7,8,9,10……….. o/p to be populate in two tables as below. o/p1: 10,20,30,40,50,60,70,80,90……. o/p2: 11,21,31,41,51,61,71,881,91…….

7 Answers   Accenture,


what is degenerated dimension?

1 Answers   IBM,


1) Alternative to update strategy transformation 2) out of 1000 records after loading 200 records, the session got failed. how do u load the rest of records ?? 3) use of lookup override

3 Answers   IBM,


what is the mechanism of the Master-Detail joining condition?

6 Answers   IBM, Patni,


Define informatica repository?

2 Answers   Wipro,


Hi, I am planning to take Infa Certification exam but am unable to find its dumps anywhere on web. If anybody has it, plz share them with me. jkinfo22@gmail.com Thanks in advance

0 Answers  


Which files are created during the session rums by informatics server?

0 Answers  


Categories