BookmarkSubscribeRSS Feed
CarlW
Calcite | Level 5

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!


error.png
4 REPLIES 4
NN
Quartz | Level 8 NN
Quartz | Level 8

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.

twocanbazza
Quartz | Level 8

Where does the data reside, locally or on a SAN etc? Are there Backups running?

CarlW
Calcite | Level 5

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.

Doc_Duke
Rhodochrosite | Level 12

Have you searched the support.sas.com for the error message.  This one may help

http://support.sas.com/kb/36/803.html

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1516 views
  • 0 likes
  • 4 in conversation