We have an aplication in Power Builder 6.0 that lists all the processes
in the database and allows the user to eliminate them clicking a button that
constains a call to a stored procedure that issues a Kill command for the
indicated process id. This worked o.k. in the past but now we get a message
like this: "The kill command is not legal in a user transaction".
We have the idea that this may be caused for the version of Sybase we
are using Sybase Adaptive Server. Can anybody tell if this idea is correct?
If not, why can this be happening?
Thanks in advance.
What version of Sybase were you using? What version of Sybase are you using?
Have any changes been made in your PB code, e.g., issuing a 'begin tran' before
calling the 'kill' proc? maybe turning on (off?) AUTOCOMMIT? maybe running in
chained-transaction mode?
It appears that somewhere you're getting a 'begin tran' issued before your call
to the 'kill' proc.
--
Mark A. Parsons
Iron Horse, Inc. iron_...@compuserve.com
Pegasys (200), Ltd peg...@internet.co.nz