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:
exec sgw_disclient "client_number"
where “client_number” is the number of the client you intend to disconnect. Obtain the client number from the sgw_status clients procedure. Enclose numeric parameter values in quotation marks.
If you disconnect a client that invoked a long running transaction before the transaction ends, TRS deallocates the conversation and disconnects the client.
To disconnect client number “7”:
exec sgw_disclient "7"
go
If a transaction is in process, this command disconnects clients that are actively reading and processing results.