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.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.