thanks, this tip was a great help.
Is the one line that is in error
AND <> @@spid
suppose to be AND spid <> @@spid or for any reason another field? It works fine with this modification, but just want to make sure not doing any unnecessary kills in there.