Thanks a lot for the hint to the lock statement. I think that will give the solution!!! Either the general lock or the lock as an option in the brokerCommand statement