for an insert you may need and exclusive lock for your table
do {
set gotit=##class(my.class).%LockExtent()
if 'gotit hang .3
} while 'gotit
;; now do your INSERT
and don't forget
do ##class(my.class).%UnLockExtent(0,1)after your insert.
- Log in to post comments
.png)