Multiple Source files
Posted: Sun Aug 14, 2011 7:21 pm
hi,
I'm running 8.4.2 and Excel 2003
i have to load the data from a series of txt files where i will know the opening batch number and the closing batch number but the numbers will not be complete - some relate to a different company that i don't want to load - they won't be in the folder so won't get in the way
i have set up my process in TI to load the first file but now need to have them all load
I think that i need a WHILE loop to load each file in turn. There is a slight complication that the batch file is split in two, some common info in both taht allows me to create attributes in a dimension that allows the load of the data from the second file. I could load all the attributes from the on file type first in process 1 and then all the data files in process2
I'm not clear how i get the counter in the WHILE statement to not fall over when a batch is missing
any suggestions gratefully received
D
I'm running 8.4.2 and Excel 2003
i have to load the data from a series of txt files where i will know the opening batch number and the closing batch number but the numbers will not be complete - some relate to a different company that i don't want to load - they won't be in the folder so won't get in the way
i have set up my process in TI to load the first file but now need to have them all load
I think that i need a WHILE loop to load each file in turn. There is a slight complication that the batch file is split in two, some common info in both taht allows me to create attributes in a dimension that allows the load of the data from the second file. I could load all the attributes from the on file type first in process 1 and then all the data files in process2
I'm not clear how i get the counter in the WHILE statement to not fall over when a batch is missing
any suggestions gratefully received
D