Application Development 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: 

make directory of archive file

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member194669
Active Contributor
0 Kudos

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

2 REPLIES 2

former_member194669
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.