<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt">Hi Guys,<br><br>I was just taking a look at the changes to lockset() between 2.0 and 2.1 and noticed it now uses a lock on the row in sl_set rather than a table lock on sl_config_lock.<br><br>I was wondering, does this now make it possible to do something along the lines of:<br><br>TRY {<br>LOCK SET ( ID = 1, ORIGIN = 1);<br>LOCK SET ( ID = 2, ORIGIN = 1);<br>}<br>ON ERROR ( blah }<br>MOVE SET ( ID = 1, OLD ORIGIN = 1, NEW ORIGIN = 2);<br>WAIT FOR EVENT (ORIGIN = 1, CONFIRMED = ALL, WAIT ON = 1, TIMEOUT = 0);<br>MOVE SET ( ID = 2, OLD ORIGIN = 1, NEW ORIGIN = 2);<br>WAIT FOR EVENT (ORIGIN = 1, CONFIRMED = ALL, WAIT ON = 1, TIMEOUT = 0);<br><br>(Or even wrap the move sets in a try too?)<br><br>The reason I ask is we're currently using 2.0.7 and when we move a bunch of sets between nodes it'd be ideal if they were all
 locked before they were moved.<br><br>Sorry if I've got the wrong end of the stick here, or this has already been answered somewhere, I did do a good search before posting!<br><br>Thanks<br>Glyn<br><br><br><br><div><br></div></div></body></html>