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


My source table look like
ID Name Location Salary
1 ran NULL NULL
1 NULL DELHI NULL
1 NULL NULL 1000

I want my output to look like

ID Name Location Salary
1 ran Delhi 1000

What should be my approach to design a informatica mapping.
Assuming my source is flat file not a Relation table so i
cant use SQL.

Answers were Sorted based on User's Feedback



My source table look like ID Name Location Salary 1 ran NULL NULL 1 NULL DELH..

Answer / abhishek kumar

In aggregator
id group by;
o_name -> max(name);
o_location-> max(location);
o_salary-> max(salary);

connect id to id(target),o_name to name(target),o_location
to location(target),o_salary to salary(target) port;
src->sq->aggregator->target

Is This Answer Correct ?    13 Yes 1 No

My source table look like ID Name Location Salary 1 ran NULL NULL 1 NULL DELH..

Answer / rajan raorane

Use the below Mapping


Flat file-->SRC Qualif-->EXp-->Filter( With not null
condition on each port)-->Normalizer-->output

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Informatica Interview Questions

how many new transformations are introduced in 8.1 which are not available in 7.1? any new transformation in 8.6?

2 Answers   emc2,


how to load the data in fact table.. using look up transformation how to view the second record. usally look up shows matching record for only one value. if i have same value its not displaying. ex: problem i faced. i have total, student no and name in table student i used aggregation transformation to display max(total). i have two same max values in total. when i look up the student name and no for this max(total), its showing only one name and no, its leaving the second one. how to rectify it. plz tel me step by step or clearly.

1 Answers  


If there are more than one sessions running parallel in a worklet, which will be the last session ?

2 Answers  


in what type of scenario bulk loading and normal loading we use?

2 Answers   Cognizant, Wipro,


Diffrence between 7.1,8.1 and 8.6

3 Answers   HCL, Wipro,


what is the max/min size allocated for caches.whether index or datacache in any of the transformations like Joiner or Aggregator.bcoz it is set to Auto by default which means we need not to allocate no of bytes or MB.so what is the use of these properties.please let me know about the caches. Thnaks in advance Sai Ram

3 Answers  


i have a source of n records.i have to load n+5 records to my target.What is the procedure??????plz tell me.....

1 Answers  


I am having a FLAT FILE SOURCE as first line: 1000,null,null,null second line as:null,2000,null,null 3rd line as :null,null,3000,null and final line as: null,null,null,4000 ............................Now i want the OUTPUT as 1000,2000,3000,4000 to a FLAT FILE only.For more clarification i want to elimate nulls and want in a single line. Please help me out

5 Answers   IBM,


how to sort date field in infomatica?

2 Answers  


hi real timers . iam waiting for ur reply regarding ETL TESTING

0 Answers  


we r using aggregator with out using groupby?

7 Answers   HSBC, Principal Finance,


in oracle write query yourname+1 from dual

5 Answers  


Categories