01-14-2016 11:26 PM
i have a program with filename statement pointing to a file with a network path. then use the infile statement to convert it to SAS dataset. it works fine vast majority of the time.
however, once in a while when we process tons of jobs at same time, one or two will fail due to error of can not find the file. obviously, the file is there.
any ideas? thanks.
01-15-2016 02:42 AM
You could try using the FILEXIST function to confirm first if SAS can find the file:
If it doesn't exist then you could keep repeating the function until SAS successfully finds it.
01-15-2016 08:26 AM
And, if you use SASKiwis method, you might consider setting a maximum number of repeats, so that your job won't wait for the rest of eternity.