connect to...disconnect

Description

Connects to the specified server to establish a passthrough-mode connection; takes the connection out of passthrough mode.

Syntax

connect to server_name
disconnect

Usage


Server class ASEnterprise

When disconnect is issued, Component Integration Services forwards disconnect to the remote server, to take it out of passthrough mode. If not in passthrough mode, syntax errors may occur, but they are ignored by Component Integration Services and not forwarded to the client.


Server class ASAnywhere

No interaction occurs with ASAnywhere when connect or disconnect are issued.


Server class ASIQ

No interaction occurs with ASIQ when connect or disconnect are issued.


Server class direct_connect

When connect is issued using a server in class direct_connect, the direct_connect is sent an RPC:

sp_thread_props “passthru mode”, 1

When disconnect is issued, and the server for which a passthrough-mode connection has been established is a direct_connect, the direct_connect is sent an RPC:

sp_thread_props “passthru mode”, 0

Server class db2

No interaction occurs with db2 when connect or disconnect are issued.

See also

commit in the Reference Manual