>In wich line You get Error?
>Because I can't reproduce it.
Sorry.
Please replace line
SET CONFIRM ON
to
SET CONFIRM OFF
Error is in READ EVENTS line always. This error causes application to terminate because executes next line after read events.
Andrus