Editorial / Best Answer
				 
							 			   
            sarun5  
            
                    
			                                
			            
			            
			        
				 
	                    Guys I have got the answer for which I asked..here you go 
This can be handled by using the file list in informatica. If we have 5 files 
in different locations on the server and we need to load in to single target 
table. In session properties we need to change the file type as Indirect.
(Direct if the source file contains the source data. Choose Indirect if the 
source file contains a list of files. 
When you select Indirect, the PowerCenter Server finds the file list then reads 
each listed file when it executes the session.)
am taking a notepad and giving following paths and file
names in this notepad and saving this notepad as
emp_source.txt in the directory /ftp_data/webrep/ 
/ftp_data/webrep/SrcFiles/abc.txt
/ftp_data/webrep/bcd.txt
/ftp_data/webrep/srcfilesforsessions/xyz.txt
/ftp_data/webrep/SrcFiles/uvw.txt
/ftp_data/webrep/pqr.txt 
In session properties i give /ftp_data/webrep/ in the
directory path and file name as emp_source.txt and file type as Indirect.
 
			 
          
Transformation to Load 5 Flat files
Questions by sarun5 answers by sarun5
Editorial / Best Answer
sarun5Guys I have got the answer for which I asked..here you go
This can be handled by using the file list in informatica. If we have 5 files in different locations on the server and we need to load in to single target table. In session properties we need to change the file type as Indirect.
(Direct if the source file contains the source data. Choose Indirect if the source file contains a list of files.
When you select Indirect, the PowerCenter Server finds the file list then reads each listed file when it executes the session.)
am taking a notepad and giving following paths and file
names in this notepad and saving this notepad as
emp_source.txt in the directory /ftp_data/webrep/
/ftp_data/webrep/SrcFiles/abc.txt
/ftp_data/webrep/bcd.txt
/ftp_data/webrep/srcfilesforsessions/xyz.txt
/ftp_data/webrep/SrcFiles/uvw.txt
/ftp_data/webrep/pqr.txt
In session properties i give /ftp_data/webrep/ in the
directory path and file name as emp_source.txt and file type as Indirect.
Related Answered Questions
Related Open Questions