‎2011 Sep 29 3:53 PM
In application server(al11) i am storing daily SEPA_rundate_identification.txt type format txt..so daily there will be around 1000 txt will be stored..
I am clubing all the SEPA_* files into one txt on weekly basis..But while clubing how can i get all the txt files created by using SEPA_*..In general we will be using - OPEN DATASET p_file FOR INPUT IN BINARY MODE.- but how can i get all the txt files as rundate and identification will be generated at runtime...
‎2011 Sep 29 4:04 PM
Hello Ravi,
The easiest way would be to create a separate App Server folder(for e.g., SEPA) & store the files. In fact for better maintenance i'll suggest create 2 subfolders - ACTIVE & ARCHIVE.
All the (new) files for a particular week are stored in the ACTIVE folder. When your weekly batch job runs, it'll pick up the files from the ACTIVE directory collate the data into a single file & move them from the ACTIVE to ARCHIVE directory.
BR,
Suhas
‎2011 Sep 29 4:04 PM
Hello Ravi,
The easiest way would be to create a separate App Server folder(for e.g., SEPA) & store the files. In fact for better maintenance i'll suggest create 2 subfolders - ACTIVE & ARCHIVE.
All the (new) files for a particular week are stored in the ACTIVE folder. When your weekly batch job runs, it'll pick up the files from the ACTIVE directory collate the data into a single file & move them from the ACTIVE to ARCHIVE directory.
BR,
Suhas
‎2011 Sep 30 9:05 AM
Thanks for ur reply...yes i am storing in seperate folder...but how to get all the files into our zprograms and internally i want to make some modifications to that files manually...how to achieve this...