On Tue, 26 Aug 2014, Birgitta Hauser wrote:
There is also an API - List Object Locks (QWCLOBJL) that will check locks
for an specified object.
Bruce Vining wrote 2 articles for MC Press modeled around the API that might
be worth a look.
Here's a link to the second one (includes a link back to the first one).