. Design a mapping, first two phone calls received by a
customer must be represented as "Home" , "Office" and the
next calls must be concatinated and represented as
"Other".Look at the below tables ::

Source Definition
Customer Phone_Number
A 9848403211
A 9812675432
A 9112356788
A 9876503276
B 9567890765
B 9876098567

AND THE TARGET IS

Customer Home Office Other
A 9848403211 9812675432 9112356788,9876503276
B 9567890765 9876098567 Null

Answers were Sorted based on User's Feedback



. Design a mapping, first two phone calls received by a customer must be represented as "Home&..

Answer / rahul

in exp trans take variable prot

v1 => first( custer ) as home
v2=> to store the previous value of customer
v3 = count = 1
v4 =. if ( customer = v2 , store its as office and count + 1)

v4 = if ( custmoe = v2 and count < 2 store it as other
else ' ')

i know till changes to be done..

its my guess

Is This Answer Correct ?    0 Yes 0 No

. Design a mapping, first two phone calls received by a customer must be represented as "Home&..

Answer / maneesh

Aggregator can do this easily

Is This Answer Correct ?    0 Yes 0 No

. Design a mapping, first two phone calls received by a customer must be represented as "Home&..

Answer / srinivas.medagum

WE CAN USE GROUP BY CUSTOMER

CONCAT(FIRST(Phone_Number).......>HOME
CONCAT(LAST(Phone_Number).......>OTHER

BUT HOW CAN I FETCH THE MIDDLE RECORDS?

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Informatica Interview Questions

what is rank and dense rank in informatica with any examples and give sql query for this both ranks

4 Answers  


What are the unsupported repository objects for a mapplet?

1 Answers   Informatica,


Describe an informatica powercenter?

0 Answers  


Explain constraint based loading in informatica

0 Answers   Informatica,


what is session parameters?

1 Answers   Cap Gemini,






what type of documents you receiving from client later wt can you do? what type of documents have to prepare?

2 Answers   CGI,


How to fix the etl bugs..Tell me the process?

1 Answers   IBM,


Explain the shared cache and re-cache?

0 Answers  


in my source table one of column contains the data like vishnraju@gmail.com,suresh@yahoo.com,krishna@hotmail.com these records i need to send in target table as below format. vishnuraju,suresh,krishna

5 Answers   Cap Gemini,


How to update a particular record in target with out running whole workflow?

0 Answers  


what happens when a batch fails?

3 Answers  


What are the different types of schemas?

11 Answers   ITC Infotech,


Categories