Terminates connection to a server.
isql -Usa -P -S ost_replinuxvm_02 1> connect to ost_replinuxvm_03 2> go
Gateway connection to 'ost_replinuxvm_03' is created.
1> disc 2> go
Gateway connection to 'ost_replinuxvm_03' is dropped.
disconnect exits the connection stack one at a time. To exit from all the connections, use disconnect all.
The disconnect command behaves differently in Replication Server 15.1 and earlier. In these versions, a disconnect command terminates the gateway mode, and returns the working server status to the Replication Server that issued the first connect command. When your connection stack includes Replication Server versions 15.2, and 15.1 or earlier, and you issue a disconnect command, the show connection and show server commands may not display the expected output.