Hi,
I'm seeing a 'File is in use' error when I try to read a SAS log file from a batch job that completed. I can bring the log up in Notepad. I copied the file (with the copy command in a command window) to a test file and could read that just fine.
The code is pretty simple:
filename in 'c:\temp\prodrun.log';
data check;
infile in missover pad;
input line $1000.;
run;
filename in 'c:\temp\prodrunx.log';
data check;
infile in missover pad;
input line $1000.;
run;
On the first step, I'm getting:
ERROR: File is in use, c:\temp\prodrun.log.
Why would Notepad be able to bring a file up and SAS can't?
Am on 9.4 TS1M5 on a Windows 2012 server.
Thanks!
--Ben
... View more