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?