Deactivating a region  Controlling RPCs

Chapter 7: Controlling a TRS

Disconnecting a client

You can force a particular client to disconnect. Generally, you use this command when you want to disconnect idle clients or clients having network problems. To disconnect a client, use this procedure:

exec sgw_disclient "client_number"

If you disconnect a client that invoked a long running transaction before the transaction ends, TRS deallocates the conversation and disconnects the client.

Example

To disconnect client number 7, use this procedure:

exec sgw_disclient "7"
go

If a transaction is in process, this command disconnects clients that are actively reading and processing results.





Copyright © 2005. Sybase Inc. All rights reserved. Controlling RPCs

View this book as PDF