When I am reading sas log(using program below) file created by some sas program I am getting error message - "ERROR: File is in use," when executing program mentioned below using sas9.2, whereas if I execute below mentioned program using sas9.1.3 I am not getting any error. log file is created using sas9.2. in both cases sas program creating log file was executing..
Can somebody let me know what is happening.
do i=1 to 100;
x="log file path";
infile tmplog filevar=x filename=check2 end=done2 length=_lenvar truncover;
input _logrec_ $varying300. _lenvar;
Lots of free and helpful Internet resources (hosted DOC, supplemental technical and conference topic-related papers) at the SAS support website http://support.sas.com/ -- consider using the Google search mentioned below.
Also, if necessary, suggest you most your SAS log output with the diagnostic messages (and code) leading up to the error, particular about the INFILE and that file which you must have allocated elsewhere?
Also, for future reference, helpful info about your SAS version, OS platform, whether the program has or has not worked previously (is it new function), whether SAS is installed locally on your machine or on a remote server.
Recommended Google advanced search argument, this topic / post: