Hi there
We have jobs scheduled that run on Flow Manager and alot of them exit because of the ERROR: A lock is not available for xxxxxx. Is there a way to solve for this using some SAS code so that the code can retry to run?
Take a look at the LOCK statment.
If this is a frequent thing you might want to look into
If your backend runs on a UNIX system, consider my method to remove the target dataset before writing to it, as presented in my SASGF 2021 paper.
Are your jobs trying to update the same datasets and the same time or are other users locking them? If the updating is all under your control then there are SAS options like FILELOCKWAIT that may be helpful.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.