PDA

View Full Version : Work with object locks to an outfile



Guest.Visitor
01-01-1995, 02:00 AM
Is there a way that you can have the users that have an object locked outputed to a file? Example: If user abc123 has custmast locked, have their user id outputed to a file so a cl program could read that file and send that user a message to end the job that has the lock on the file.

Guest.Visitor
03-09-1999, 11:51 AM
On Tuesday, March 09, 1999, 11:02 AM, Jason Stockton wrote: Is there a way that you can have the users that have an object locked outputed to a file? Example: If user abc123 has custmast locked, have their user id outputed to a file so a cl program could read that file and send that user a message to end the job that has the lock on the file. Check out the QWCLOBJL API. It retrieves the same info you get from the WRKOBJLCK command. Have fun!