Sequential File Stage - Query
Posted: Wed Mar 26, 2014 1:56 am
I have 3 Input files having same layout.
Customer_AAAA.txt
Customer_BBBB.txt
Customer_CCCC.txt
I am using Sequential file stage to read them(File Pattern as Read Type - Customer_*.txt)
The input File has 5 Columns.
I need to load that to a table which has 6 Columns.
The extra column in the Table is SOURCE_FILE_NAME which should have the value of the File name from which the data has come.
Any way we can do this in Datastage ?
Thanks for your time in viewing this post and reply in advance.
Customer_AAAA.txt
Customer_BBBB.txt
Customer_CCCC.txt
I am using Sequential file stage to read them(File Pattern as Read Type - Customer_*.txt)
The input File has 5 Columns.
I need to load that to a table which has 6 Columns.
The extra column in the Table is SOURCE_FILE_NAME which should have the value of the File name from which the data has come.
Any way we can do this in Datastage ?
Thanks for your time in viewing this post and reply in advance.