Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Application server files

Former Member
0 Likes
481

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...

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
448

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

2 REPLIES 2
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
449

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

Read only

Former Member
0 Likes
448

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...