Creating the connection to RepConnector

A RepConnector connection defines the information that Replication Server uses to connnect to the RepConnector server, to replicate data.

Before you create the connection, gather the following information:

StepsCreating a new RepConnector connection in Replication Server

  1. Log in to the Replication Server with a user ID that has system administrator permission:

    isql -U <username> -P <pwd> -S <server_name>
    

    where:

  2. Create the connection, and define the user ID and password for the RepConnector connection:

                 create connection to <dataserver>.<database>
                 set error class to rs_sqlserver_error_class
                 set function string class to rs_sqlserver_function_class
                 set username <dsi_username>
                 set password <dsi_password>
                 set batch to 'off'
                 set dsi_xact_group_size to '-1'
                 with dsi_suspended
    

    where:

NoteRepConnector does not support the batching of commands in Replication Server. If you have already created the connection, and have not set the batch and dsi_xact_group_size parameters as indicated above, use the configure connection and alter connection commands to set them. See the Replication Server Reference Manual.

For example:

create connection to RepConnector.RepCondb
set error class to rs_sqlserver_error_class
set function string class to
     rs_sqlserver_function_class
set username sa
set batch to 'off'
set dsi_xact_group_size to '-1'
with dsi_suspended