Message: <file-name> in use by <user> on <tty

Posted by Wellington Silva on 07-Dec-2016 14:07

Good afternoon!
Is there any way around this message?
Is there any way to disable the cancel button in the message.

<file-name> in use by <user> on <tty>. Wait or choose CANCEL to stop. (2624)

All Replies

Posted by Mike Fechner on 07-Dec-2016 14:14

Use a FIND with NO-WAIT and check the NOT AVAILABLE and LOCKED conditions after the FIND.

Posted by Brian K. Maher on 07-Dec-2016 14:16

The way to get around the problem is to write your code such that you detect that a record is locked and handle it by either pausing then retrying or doing something else.
 

This thread is closed