cdr disconnect server

The cdr disconnect server command stops a server connection.

Syntax


1  cdr disconnect
server?  %Connect
Option  (1)  server_group
Notes:
Element Purpose Restrictions Syntax
server_group Name of the database server group to disconnect. The database server group must be currently active in Enterprise Replication. Long Identifiers

Usage

The cdr disconnect server command drops the connection (for example, for a dialup line) between server_group and the server specified in the --connect option. If the --connect option is omitted, the command drops the connection between server_group and the default database server (the one specified by the INFORMIXSERVER environment variable).

When you run the cdr disconnect server command, event alarms with class IDs of 54 and 71 are generated, if those event alarms are enabled.

You can run this command from within an SQL statement by using the SQL administration API.

Examples

The following example drops the connection between the default database server (the one specified by the INFORMIXSERVER environment variable) and the server group g_store1:
cdr disconnect server g_store1