Skip to Content
0
Former Member
Jun 05, 2010 at 02:06 PM

Copy application server file from one directory to another

18 Views

hello all,

Is there a function module, or class, that will copy a file from one directory on the application server to another.

I know that it can be done with the OPEN DATASET xxx FOR INPUT, then DO LOOP and CLOSE DATASET xxx followed by OPEN DATASET xxx FOR OUTPUT, etc

But, that seems inelegant, and clumsy, if there's a simple function module for it.

This is probably an FAQ, but I can't seem to find an answer.

Thanks