Hi @SaugataM ,
did you test the LOCK statement:
?
All the best
Bart
Here is a use case for the Lock statement.
http://support.sas.com/kb/51/275.html
Use the %trylock macro in a conflicting process which waits for the other process till either it releases the lock on the dataset or until a configurable time period.
Here is the command to unlock the dataset once the processing is done since the macro explicitly locks the dataset, it is safe to clear the lock once the processing is done.
lock rcli_.rcli_control_master clear;
Thanks a lot for your reply.
Since I have hundreds of datasets getting created in the work library. Encasing all of them in a trylock macro in an already deployed product is going to be very tough, if not impossible.
That is why I am looking for a system or library wise option.
Please confirm with your server team that this drive is NOT being backed up and hence there should be no third-party tools locking files. There is absolutely no need to backup SAS work drives.
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!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.