04-20-2009 9:53 PM
hi.
i want to read file XXX every day and at the end i want to put it ARCHIVE DIRECTORY , so i wiil have a directory with all the files i read.
how ican do it....
04-20-2009 10:04 PM
You want to write to a ARCHIEVE DIRECTORY
Check the demo program RSSOBLAA
or if you want simply write files to a application server directory
then please search in the forum with key word OPEN DATASET or TRANSFER
a®
04-20-2009 10:04 PM
You want to write to a ARCHIEVE DIRECTORY
Check the demo program RSSOBLAA
or if you want simply write files to a application server directory
then please search in the forum with key word OPEN DATASET or TRANSFER
a®
04-21-2009 5:02 AM
Hi.
Please follow as below.
1. Create directory "ARCHIVE_DIR" on server
2. OPEN DATASET file_destination FOR INPUT for reading when you finish then
3. OPEN DATASET archive_destination FOR OUPUT for writing data to directory "ARCHIVE_DIR"
4. DELETE DATASET file_destination for deleting a original file.
Hope it help.
Sayan.