I tried to use this trylock macro described in the paper http://www.lexjansen.com/pharmasug/2005/posters/po33.pdf. I have several parallel run processes and they may access and update a common dateset. Those processes still fail when trying to lock the dataset with this commond "lock &dataset_name". How to turn off this for SAS from failure and exiting the process when it encounts error "654 ERROR: A lock is not available for ****." when trying to lock a dataset?
... View more