Subj : close file in REXX
To   : All
From : Bryan Rubingh
Date : Tue Aug 01 2000 05:00 pm

I've written a REXX program which reads one file, changes a few lines as
it reads and writes to a second file, doing the above one line at a
time.  When it reaches the end of the first file, I want to copy the
second file (the one REXX created) to another location.  I've tried just
doing:
copy file2 file3
but I get an OS/2 error when running the program that file2 is in use.
Is there any way in REXX to close the file so that the OS can copy it?

 Thanks,
 Bryan Rubingh


... Rube Ink - Custom Programming/Computer Solutions

___ Blue Wave/QWK v2.20

--- Maximus/2 2.02
* Origin: OS/2 Shareware BBS, telnet://bbs.os2bbs.com (1:109/347)