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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.