how to join two flat file if they have diff. structure?how to join one relational and one flat file?

Answers were Sorted based on User's Feedback



how to join two flat file if they have diff. structure?how to join one relational and one flat file?..

Answer / sravanthi

using joiner tranformation to add two diff structure of flat files...

Is This Answer Correct ?    7 Yes 2 No

how to join two flat file if they have diff. structure?how to join one relational and one flat file?..

Answer / pradosh

if the flat files has diff stracture then
sd-->sq-->exp>
...>join-->tgt
sd1-->sq1-->exp1>

that means take flat file source then take 2 exp transformation in which u take variabl ports i.e a=1 and exp1 is b=1 then based on condition u take a joined trans and connect to target.

join takes diferent sources

Is This Answer Correct ?    4 Yes 0 No

how to join two flat file if they have diff. structure?how to join one relational and one flat file?..

Answer / vijay

you have two flat-files with u.
prepare two source instances with the structure you have as
oracle relational tables. after that change them to
flatfiles in the source instances.
then connect to the target's that u already prepared by
simple-pass mapping. now you have two relational source
tables with u,then join the tables using joiner.
--------------------------------------------------
how to join one relational and one flat file?
same as above convert the flatfile to relational table
through simple-pass mapping. now join two relational tables
using joiner in the same mapping itself.

Is This Answer Correct ?    0 Yes 0 No

how to join two flat file if they have diff. structure?how to join one relational and one flat file?..

Answer / mehul thakur

Hi sravanti
Could U please explain how to join ?

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Informatica Interview Questions

How can yoU create or import flat file definition in to the warehouse designer?

2 Answers  


what is system requirement(SR) & business requirement(BR)?

2 Answers   Ness Technologies,


What are teh different tasks that can be created in workflow manager?

1 Answers   NIIT,


Explain about HLD and LLD ?

16 Answers   Accenture,


difference between repository database and repository service?

0 Answers  






What are the technical challenges faced in Informatica production support member? Give any one example and how to solve it?

0 Answers   CTS, Wipro,


can anybody send me some real time screenshots of mapping in informatica powercenter. i will be vary thankful to him. my e-mail id :- prakashkumar.kumhar@gmail.com

0 Answers   IBM,


There are 2 files, Master and User. We need to compare 2 files and prepare a output log file which lists out missing Rolename for each UserName between Master and User file. Please find the sample data- MASTER.csv ---------- Org|Tmp_UsrID|ShortMark|Rolename ---|---------|----------|------------ AUS|0_ABC_PW |ABC PW |ABC Admin PW AUS|0_ABC_PW |ABC PW |MT Deny all GBR|0_EDT_SEC|CR Edit |Editor GBR|0_EDT_SEC|CR Edit |SEC MT103 GBR|0_EDT_SEC|CR Edit |AB User USER.csv -------- Org|UserName|ShortMark|Rolename ---|--------|---------|------------ AUS|charls |ABC PW |ABC Admin PW AUS|amudha |ABC PW |MT Deny all GBR|sandya |CR Edit |Editor GBR|sandya |CR Edit |SEC MT103 GBR|sandya |CR Edit |AB User GBR|sarkar |CR Edit |Editor GBR|sarkar |CR Edit |SEC MT103 Required Output file: --------------------- Org|Tmp_UsrID|UserName|Rolename |Code ---|---------|--------|------------|-------- AUS|0_ABC_PW |charls |ABC Admin PW|MATCH AUS|0_ABC_PW |charls |MT Deny all |MISSING AUS|0_ABC_PW |amudha |ABC Admin PW|MISSING AUS|0_ABC_PW |amudha |MT Deny all |MATCH GBR|0_EDT_SEC|sandya |Editor |MATCH GBR|0_EDT_SEC|sandya |SEC MT103 |MATCH GBR|0_EDT_SEC|sandya |AB User |MATCH GBR|0_EDT_SEC|sarkar |Editor |MATCH GBR|0_EDT_SEC|sarkar |SEC MT103 |MATCH GBR|0_EDT_SEC|sarkar |AB User |MISSING Both the files are mapped through Organization, Shor_mark. So, based on each Organization, Short_Mark, for each UserName from User.csv, we need to find the Matching and Missing Rolename. I am able to bring Matching records in the output. But really I don't find any concept or logic to achieve "MISSING" records which are present in Master and not in User.csv for each UserName. Please help out guys. Let me know if you need any more information. Note:- In User.csv file, there are n number of Organization, under which n number Shortmark comes which has n number of UserName.

0 Answers  


Explain reference cursor?

1 Answers  


How to elaborate tracing level?

0 Answers  


How IN function works in informatica? Is it similar that of oracle IN function or different? Explain

2 Answers   Mphasis,


What do you mean by worklet?

0 Answers  


Categories