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

can we use lookup t/r in flat files?what are the t/r's can be used in flat files when compared to relational DB?

2 Answers   IBM,


"Change cache" in Informatica ?

2 Answers  


following table source name gender a1 male a2 female how to change 'male' to 'female' and 'female' to 'male'

2 Answers  


How to add source flat file header into target file?

3 Answers   Logica CMG,


Explain what are the different versions of informatica?

0 Answers  






ename,deptcount vamshi,3 kumar,5 krish,8 in o/p i want vamshi record 3 times kumar record 5 times like wise what is the logic.? give the entire logic plz

1 Answers   IBM,


i have a source with 100 records.i have 2 targets.in the first target i want to load first 50 records & in the second target i want to load next 50(or remaining) records.

3 Answers  


How to start a workflow using pmcmd command?

0 Answers  


On a day i load 10 rows in my target and on nextday i get 10 more rows to add in target. But out of 10 - 5 records are send them to target?how i can insert the remaining records

1 Answers  


What are the transformations that are not supported in mapplet?

0 Answers  


explain any diffcult scenario that u have faced in your experience... or explain any complex maping u have developed?

0 Answers   TCS, Wipro,


two types of data are there . one is mainframe and the other is ascii format . in informatica how can you get both the data in a single format in ascii .

2 Answers   TCS,


Categories