NO-WAIT feature in FOR statement

Does someone know of a built-in feature of "NO-WAIT" with a FOR statement while doing a exclusive lock?

I know the following workaround which uses a no-lock for the "FOR statement" and using a "find with a no-wait" on the buffer of "FOR each" table.

def buffer buf-cus for cus.
For each cus no-lock:
find buf-cus where rowid(buf-cust) = rowid(cust) exclusive no-wait no-error.
end.

But is there a similar feature built in the "FOR" statement itself?

Thanks
Joel
 
Top