Is it possible to trap that a record was not updated because it is locked by another user?
Who should be in charge of retrying?
For re-trying to get the lock, the lock-wait-timeout should be good enough. So when you finally get the record lock during the SAVE-ROW-CHANGES I don't see a need to retry the lock. You could just use a longer -lkwtmo parameter to increase the time.
But then typically I'm expecting error 11913 as a consequence when the record was modified by another user. We're catching that error and adding it to the record's error-string.
So depending on "who" should be in charge of retrying, you should look in to the record's ERROR-STRING property, for the message that equals the
Consultingwerk.OERA.Resources.OERACustomizer:RecordChangedByAnotherUser
string.