Use the connect command to turn Replication Server into a gateway to its RSSD, ID server, or to a remote Replication Server.
Syntax:
connect [to] [rssd | idserver | srv_name | ds_name.db_name]
rssd – turns Replication Server into a gateway to its RSSD. Allows the gateway to use RSSD_primary_user and RSSD_primary_pw entries in its configuration file.
idserver – turns Replication Server into a gateway to its ID server, providing that the Replication Server itself is not the ID server. Allows the gateway to use ID_user and ID_pw entries in the configuration file.
srv_name – the name of the remote Replication Server you want the gateway to connect to. The Replication Server gateway uses RSI to log into the remote server, and requires a direct route to the remote server.
ds_name.db_name – the name of the remote data server and database that you want the gateway to connect to. The Replication Server gateway uses the maintenance user to log into the remote data server. This allows you to perform tasks that maintenance users of the designated database are permitted to do. However, you cannot access the other databases defined in the data server you connected to.
Replication Server gateway can directly connect to Adaptive Server and Sybase® IQ as well as replicate data servers that are supported by Enterprise Connect Data Access (ECDA). You cannot use Replication Server gateway to connect to replicate data servers if you are using one of the ExpressConnect products to communicate with those servers.