Is there a way to perform an %Prepare()/%Execute() that will wait until the record being queried is unlocked by another process?
Ex:
Process 1 - is opening record, updating, then saving. NOTE: this is using embedded SQL
&sql(SELECTIDINTOsProcess 2 - is querying the same record while Process 1 has it open. Result is nothing is returned and %SQLCODE is 0
##class




.png)

.png)

.png)

