There are n numbers of flatfile of exactly same format are
placed in a folder .Can we load these flatfile's data one
by one to a single relational table by a single session??

Answers were Sorted based on User's Feedback



There are n numbers of flatfile of exactly same format are placed in a folder .Can we load these ..

Answer / bzz

Use source type as Indirect File Type and source file name
as a file having the names of all the n flatfiles to be
read.

Is This Answer Correct ?    32 Yes 0 No

There are n numbers of flatfile of exactly same format are placed in a folder .Can we load these ..

Answer / srinu

Yes BZZ,,,

After assign the folder path in Source path,
We have to change source Type as INDIRECT in Session
properties.

Is This Answer Correct ?    12 Yes 0 No

There are n numbers of flatfile of exactly same format are placed in a folder .Can we load these ..

Answer / amarnath

create a file list which is nothing but simple .txt file
which contains the name of the each file u want to load and
in session properties make source file as "indirect" and
give the path of the file list that u have created and run
the wkf

Is This Answer Correct ?    5 Yes 0 No

There are n numbers of flatfile of exactly same format are placed in a folder .Can we load these ..

Answer / schwab

Hi,
Yes U can do it by merging all 10 flat files in one single
file.
create a script before session(presession) to merge all
these files into one.
This is the way we are handling in our project.

Is This Answer Correct ?    2 Yes 0 No

There are n numbers of flatfile of exactly same format are placed in a folder .Can we load these ..

Answer / sankar

FOR THOSE FLAT FILE WE CREATE A LIST FILE.IN THAT LIST FILE
WE CAN ENTER FLAT FILE DIRECTRIES.
THEN GO TO SESSION
SOURCE TYPE:INDERECT
SOURCE DIRECTOTRY:LIST DIRECTORY
SOURCE FILENAME:LIST.TXT

Is This Answer Correct ?    2 Yes 0 No

There are n numbers of flatfile of exactly same format are placed in a folder .Can we load these ..

Answer / harish konda

Yes we can load all these flat files in a single session.

First create a txt file and in that give all the file names
along with their PATH.

Drag any one of the flat file into the mapping and link it
to the target acc. to your requirement.

And in the session properties give the file type as Indirect
and in Filename option, give the file name(along with the
path) of the file in which you gave all the paths.

Then run the mapping.

Is This Answer Correct ?    1 Yes 0 No

There are n numbers of flatfile of exactly same format are placed in a folder .Can we load these ..

Answer / ravi

not folder.we have mention folder fath

Is This Answer Correct ?    0 Yes 3 No

There are n numbers of flatfile of exactly same format are placed in a folder .Can we load these ..

Answer / srinu

Hi,,,TCS,,,
Have you attend Recently for TCS,,,?

You need to load 10flatfiles to One relational source,,?
You can keep 10flat files in a single folder.Just assign
the folder path as a Source path in SESSION PROPERTIES.
it will make it 1 flatfile source.
By a simple Mapping,make it single Relational source.

Any corrections,,,,,srinu.srinuvas@gmail.com

Is This Answer Correct ?    4 Yes 11 No

There are n numbers of flatfile of exactly same format are placed in a folder .Can we load these ..

Answer / rekha

YES YOU CAN DO IT BY USING FILE REPOSITORY
U CAN PLACE THAT FOLDER IN THE SESSION PROPERTIES

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More Informatica Interview Questions

Define sessions in informatica etl?

0 Answers  


What is the difference between informatica 7.0 and 8.0?

0 Answers  


Describe the impact of several join conditions and join order in a joiner transformation?

0 Answers  


What are steps to follow Informatica migration from 7x to 8x? Pls Explain...

1 Answers   CTS, TCS,


if i have one mapping and we already tuned that mapping for performance,everything is fine and loading will take 1 hr,so without doing any change in mapping how could we reduce the loading time from 1hr to 1/2 hr.

5 Answers   Wipro,






i have two tables,table 1 having 2 columns and 3 rows,table2 having 3 columns and 2 rows.what is the output if i do left outerjoin,full outer join,right outer join?

2 Answers   IBM, Polaris,


Suppose we have a csv file with contents as below which is used has a source file. C1,C2,C3,C4 100,200,A B,300 200,400,X,Y,299 ---> it should be 4 values but by mistake 300,600,C D,566 with a comma in between X & Y,its 5. My target takes only 4 columns, How to take care of the 2 record as above without rejecting it and loading in the target. Hope u guys have understood my scenerio

4 Answers   IBM,


source table A having 100000 records. and target B table having 100000 records. now iam updating B records using update query. i don't know which record is update in target. write a sql query get all updated records from target table B.

4 Answers   TCS,


How can you join two tables without any common column present in them?

1 Answers   TCS,


What do you mean by Parameter file? Why do we use it and what all things we can define in a parameter file?

1 Answers  


Explain the various test procedures used to check whether the data is loaded in the backend, performance of the mapping, and quality of the data loaded in informatica?

0 Answers  


Enlist the advantages of informatica.

0 Answers  


Categories