Currently I have a sas job running each Monday 5:00am by using window schedule task, it failed each time due to a lock is not availabe for data set reason, the data set got locked is totally random. I tried get IT personnel to kill all sas session before the end of week and no background application is running during that period. Still the error prompt out unexpectedly.
Anybody had similiar issue and how did you solve this? your input is highly appreciated!
Hi,
There is a Filelocks= option that can be used in the libname statement when defining a libref . I am not sure if that will help your case but you can definetely look into it.
Where does the data reside, locally or on a SAN etc? Are there Backups running?
Thx for you guys help, the data locates in the metadata server, no backup running during that period. right now I'm thinking is that possible filesystem related, eg integrity check.
Have you searched the support.sas.com for the error message. This one may help
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.