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


Input flatfile1 has 5 columns, faltfile2 has 3 columns(no
common column)
output should contain merged data(8 columns)
Please let me know how to achieve ??

Answers were Sorted based on User's Feedback



Input flatfile1 has 5 columns, faltfile2 has 3 columns(no common column) output should contain mer..

Answer / sukanta

As per your question two files have same no of records

take first file's 5 column to a expression
transformation,add a output column in it let say 'A'.create
a mapping variable let say 'countA' having datatype
integer.Now in port 'A' you put expression like
setcountvariable(countA).

take second file's 3 column to a expression transformation
,add a output column in it let say 'B'.create a mapping
variable let say 'countB' having datatype integer.Now in
port 'B' you put expression like setcountvariable(countB).

The above two is only meant for creating common fields with
common data in two pipeline.

Now join two pipe line in a joiner transformation upon the
condition A=B.

Now join the required 8 ports to the target.

You get your target as per your requirement.

Regards
Sukanta

Is This Answer Correct ?    12 Yes 1 No

Input flatfile1 has 5 columns, faltfile2 has 3 columns(no common column) output should contain mer..

Answer / moorthy g

You Can create dummy port for each source Qual. then connect
to Join Trans., and Join two dummy port.in Joiner
Transformation.

Is This Answer Correct ?    5 Yes 1 No

Input flatfile1 has 5 columns, faltfile2 has 3 columns(no common column) output should contain mer..

Answer / moorthy g

You Can Use Union Transformation for combine two flat files

Is This Answer Correct ?    1 Yes 14 No

Post New Answer

More Informatica Interview Questions

Briefly define reusable transformation?

0 Answers  


what are the transformations that are used in data cleansing ? and how data cleansing takes place ?

3 Answers  


How Union Transformation is an Active Trans?

6 Answers  


How to load dimension and fact in same mapping at same time.explain me the logic used for that scenario.

1 Answers   IBM,


Explain target update override in informatica

0 Answers   Informatica,


Informatica and datawarehousing courses in Pune?

2 Answers  


Hi Every One When i Start the Workflow, Table is Going to be Stored in the target database But the columns are not going to the target database table in my PC , please give me the solution and waiting for solution

2 Answers  


How to enter same record twice in the target table,explain?

7 Answers  


Explain dynamic target flat file name generation in informatica

0 Answers   Informatica,


Differentiate between router and filter transformation?

0 Answers  


we have a parameter file in Unix location where we have .txt files and those file will be used as source in informatica. I cannot use source file name directly as file name will keep on changing in unix location. I need to define $$InputFile as parameter. Can anybody send me the parameter file and the steps to handle this.

2 Answers   Infosys, TCS,


When we are using Dynamic Cache,which options we will select in session level?

1 Answers   Cognizant, CTS,


Categories