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


Hello Everyone,i have one question on sequence generator.i
have two targets and the records comes from the source will
place in the targets like 1-10 rec in target1 and 11-20 rec
in target2,21-30 rec in target1...etc so any one can help
me? plz..Thanq in adv.

Answers were Sorted based on User's Feedback



Hello Everyone,i have one question on sequence generator.i have two targets and the records comes f..

Answer / babu

Hi,
Mappimg::
SRC=>SQ=>SEQ GEN=>EXP=>RTR=>TRG1 &TRG2


First we have to take 4 mapping variables,those are
VAR1=1 increment by 20
VAR2=10 increment by 20
VAR3=11 increment by 20
VAR4=20 increment by 20

in RTR two groups are there group 1::
IIF( NEXTVAL>=VAR1 AND NEXTVAL<=VAR2)
GROUP 2 :: IIF( NEXTVAL>=VAR3 AND NEXTVAL<=VAR4)

Is This Answer Correct ?    3 Yes 0 No

Hello Everyone,i have one question on sequence generator.i have two targets and the records comes f..

Answer / prasad

use router t/r for loeading data in mutlipule targets .in
that routr t/r use mod function .

Is This Answer Correct ?    4 Yes 3 No

Hello Everyone,i have one question on sequence generator.i have two targets and the records comes f..

Answer / krish

i didnt get ur scenario ur saying that 1-10 11-20 this
should continue.
if this is the thing u need to check the cycle option

increment by 1
end value 20
current value 0
check reset(to be on safe side)
in exp create to o/p ports
like first_10values
second_10values
then take router
in that give first_10VALUES<11;
GIVE THAT CONNECT INTO ONE TARGET
AND THE DEFAULT INTO ANOTHER TARGET.


give the condition

Is This Answer Correct ?    5 Yes 4 No

Hello Everyone,i have one question on sequence generator.i have two targets and the records comes f..

Answer / santosh kumar sarangi

1.Take a sequence generator and connect it to the expression
t/r.
2.In expression transformation create a out put post and
keep the below condition;
VAL_OUT = iif(mod(floor((nextval-1)/10),2)=0,0,1)
3.Keep a router t/r, and filter with the condition VAL_OUT=0
then first target and if VAL_OUT=1 then second target.

Let me know if any thing wrong.

Thanks & Regads
Santosh Kumar Sarangi

Is This Answer Correct ?    0 Yes 0 No

Hello Everyone,i have one question on sequence generator.i have two targets and the records comes f..

Answer / shalini

how can we get this output without using Cycle option in sequence Generator.

Is This Answer Correct ?    0 Yes 0 No

Hello Everyone,i have one question on sequence generator.i have two targets and the records comes f..

Answer / santosh_dw

It will work without making sequence generator cyclic

select mod(floor(3/10),2) from dual;

Ans: 0


select mod(floor(12/10),2) from dual;

Ans: 1

select mod(floor(25/10),2) from dual;

Ans: 0

select mod(floor(35/10),2) from dual;

Ans: 1

Thanks,
Santosh.

Is This Answer Correct ?    0 Yes 0 No

Hello Everyone,i have one question on sequence generator.i have two targets and the records comes f..

Answer / ahalyabest@gmail.com

SQ---> SEQ GEN---> EXP--> ROUTER---> TRG1, TRG2, TRG3, TRG4

in seq generator properties
start value-1
increment value-1
end value-4
current value-1
cycle-true
reset-true

in router conditions
4 conditions

group 1= iif ((nextval=1)1,0)
group 2=iif (( nextval=2)1,0)
group 3=iif((nextval=3)1,0)
group 4=iif((nextval=4)1,0)

connect
group1-->target1
group2-->target2
group3-->target3
group4-->target4

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Informatica Interview Questions

can u any challenge your project?

0 Answers   HP,


Howmany ways yoU can update a relational source defintion and what are they?

1 Answers  


I am having two tables,say table1 having cols Empid,firstname,lastname,middlename and table2 having Empid,firstname,lastname can i union them using Union t/f?

6 Answers   Accenture,


In what scenario we use to improve session performance by pushdown optimization?can any one give example?

2 Answers  


How to eliminate 1st and last rows from the source and load the inbetween rows.

5 Answers   Syntel,


How to eliminate duplicates from flat file..what is the procedure

4 Answers  


Diff b/w ShortCut and reusabel Object ?

4 Answers  


How do we call shell scripts from informatica?

0 Answers  


in realtime which situations u can use unconnected lookup transformation

2 Answers   Patni,


To Provide Support For Mainframes Source Data, which Files Are Used As A Source Definitions?

0 Answers   Informatica,


if i have records like these (source table) rowid name 10001 gdgfj 10002 dkdfh 10003 fjfgdhgjk 10001 gfhgdgh 10002 hjkdghkfh the target table should be like these by using expression tranformation. (Target table) rowid name 10001 gdgfj 10002 dkdfh 10003 fjfgdhgjk xx001 gfhgdgh xx002 hjkdghkfh (that means duplicated records should contain XX in there rowid)

5 Answers   iFlex,


Is it possible to have "5 source & 5 Target" in single mapping?

1 Answers  


Categories