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
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.