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

Answers were Sorted based on User's Feedback



My i/p is 1,2,3,4,5,6,7,8,9,10……….. o/p to be populate in two tables as below...

Answer / ratalarayudu

HI ,I think there is no need of sequence generator .

sq->exp->tg1
->tg2
In exp take 2 port

out_1=input_port*10
out_2=input_(port*10)+1.

Link out_1 to tgt1
Link out_2 to tgt2.

Is This Answer Correct ?    14 Yes 0 No

My i/p is 1,2,3,4,5,6,7,8,9,10……….. o/p to be populate in two tables as below...

Answer / sufi

Use Router and make two groups with the below conditions :
Group1 Condition : Mod ( Col, 10) = 0
Group2 Condition : Mod ( Col, 10) = 1

So first Group will allow data like 10,20,30,40.....
and 2nd group will allow 11,21,31,41,51.....

Is This Answer Correct ?    6 Yes 1 No

My i/p is 1,2,3,4,5,6,7,8,9,10……….. o/p to be populate in two tables as below...

Answer / rahul

source>sq>exp>trg_1
             >trg_2

take 2 seq gen
1)seq1 tnx n set properties
start_value=10
increment_by=10
end_value=110
current_value=10
cycle enable
reset enable

connect nextval to target1

2)seq2 tnx n set properties
start_value=11
increment_by=10
end_value=110
current_value=11
cycle enable
reset enable

connect nextval to target2
             

Is This Answer Correct ?    5 Yes 2 No

My i/p is 1,2,3,4,5,6,7,8,9,10……….. o/p to be populate in two tables as below...

Answer / sufi

Use router with two groups with the below conditions:
Group1 condition : Mod( Col, 10) = 0
Group2 condition : Mod ( Col, 10) = 1

Group1 will allow data like 10,20,30,40....
Group2 will allow data like 11,21,31,41....

Is This Answer Correct ?    2 Yes 0 No

My i/p is 1,2,3,4,5,6,7,8,9,10……….. o/p to be populate in two tables as below...

Answer / abhinaw prakash

The other approach would be to concatenate the incoming values with '0' and '1' in expression variable port and move it to different targets using Router.

Is This Answer Correct ?    0 Yes 0 No

My i/p is 1,2,3,4,5,6,7,8,9,10……….. o/p to be populate in two tables as below...

Answer / firdaus

src-->exp1-->target1
src-->exp2-->target2

In exp1 drag i/p port,then take o/p port
0/p=i/p||0
In exp2 drag i/p port,then take o/p port
0/p=i/p||1
thn link o/p ports of exp1 & exp2 to target1 & target2.

Is This Answer Correct ?    0 Yes 0 No

My i/p is 1,2,3,4,5,6,7,8,9,10……….. o/p to be populate in two tables as below...

Answer / punitha

sr=>sq=>sq=>router=>target

in sequence generator,end value=10
enable cycle option, in router first condition nextvalue=1
another condition next value=10 ,take two targets for two onditions

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Informatica Interview Questions

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,


i have a flat file and the file s are like below ****%%^^@@@G**@#A@#$N*&^E%^S@#h@@@##$$ IN THIS FORMATE Means un limited special charecter between and sides of the string data..output should be(GANESH) HOW YOU HANDEL THIS TYPE OF RECORDS,,COZ U DON"T KNOW WHERE AND WHAT ARE THE SPECIAL CHARACTERS IN BETWWEN THE NAME...

6 Answers   IBM,


What does cheating measurement mean?

0 Answers  


Please explain in detail with example about 1.Confirmed Dimension. 2.Junk Dimension. 3.Degenerated Dimension. 4.Slowly changing Dimensions

3 Answers   Infotech,


What are the types of maping in Getting Started Wizard?

1 Answers  






One flatefile it contains some data but i want to dont want to load first and last record ..how it is? can u tell me complete logic?

2 Answers  


what is shortcut in informatica? difference between shortcut,reusable object?

2 Answers   Virtusa,


What are the transformations that are not supported in mapplet?

0 Answers  


How many ways you create ports?

1 Answers  


Three date formats are there . How to change these three into One format without using expression transformation ?

3 Answers   HP,


To provide support for Mainframes source data,which files r used as a COBOL files

1 Answers  


What is checksum termnology in informatica? Where do you use it ?

3 Answers   Chase, Cognizant, Deloitte,


Categories