I have encountered a strange error. I am using the following code to read filenames that match a given pattern:
filename DIR pipe "dir /B c:\thisdir\abc123*.dat";
data dirlist;
length file $20;
infile DIR length=reclen;
input file $varying20. reclen;
run;
When I run this code everything works as expected. When one of my colleges runs this same code from his account, he gets this error:
NOTE: The infile DIR is:
Unnamed Pipe Access Device,
PROCESS=dir /B c:\thisdir\abc123*.dat,RECFM=V,
LRECL=256
Stderr output:
There is not enough space on the disk.
NOTE: 0 records were read from the infile DIR.
NOTE: The data set WORK.DIRLIST has 0 observations and 1 variables.
There is plenty of disk space on all disks. So, this error is more likely the result of a permission problem, but where? Does anyone have any ideas?