Hi,
use
        dbmcli -d dbname -u user,password db_cons cancel Ttask_to_cancel

Cancellation of a task will set a flag only to allow orderly rollback.
or
        dbmcli -d dbname -u user,password db_cons kill Ttask_to_cancel

Killing a task sets the flag and additionally wakes up the UKT.

A real 'killing' (i.e. cancellation of a flag) would risk your database
consistency.
Currently the routines just set flags, that the SAPDB code will detect, if
it is in a state
where it is able to react correctly. You will see cancellation of tasks in
'knldiag'. 
Cancelled tasks that have not released themselfs are marked with '!' 

        dbmcli -d dbname -u user,password show active

CU
jrg

> -----Original Message-----
> From: Thomas Markus [mailto:[EMAIL PROTECTED]]
> Sent: Dienstag, 14. Mai 2002 18:04
> To: sapdb.general
> Subject: killing session
> 
> 
> Hello,
> 
> how can I kill a specific db session?
> 
> thanks
> 
> -- 
> Thomas Markus
> Tel: 030 29 36 399 - 18
> mailto:[EMAIL PROTECTED]
> Proventis GmbH
> Torellstr. 1
> 10243 Berlin
> 
> 
> 
> _______________________________________________
> sapdb.general mailing list
> [EMAIL PROTECTED]
> http://listserv.sap.com/mailman/listinfo/sapdb.general
> 
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to