The repcfg command lets you configure Replicator installations from the command line (instead of using Replicator Manager or Visual DBA).
The repcfg command has the following format:
repcfg dbname obj_type action [-uusername] [-q] object {object} [-help]
Specifies the name of the database.
Specifies the object type.
Limits: cdds or table. Both arguments can be abbreviated to the initial character and are case-sensitive.
Specifies the action to be performed.
Limits: activate, deactivate, or createkeys. These arguments can be abbreviated to the initial character and are case-sensitive.
Specifies the effective user for the session.
Specifies the object to configure. This can be a CDDS number or table number.
Note: No more than 100 objects can be specified. This limit can be raised by modifying the utexe.def file. For more information, see the Database Administrator Guide.
This command activates CDDS 0 in the repdb database:
repcfg repdb cdds activate 0
This command creates replication keys for tables 3 and 4 in the europe database and populates the input queue:
repcfg europe table createkeys –q 3 4