This command is available only for Oracle.
Creates a replication definition at Replication Server for a marked table and procedure, or for all marked tables and procedures.
Replication Agent 15.0 is pre-configured to match replication
definition datatypes available in Replication Server 15.0. If replication
definitions are to be generated against an earlier version of Replication
Server, this configuration needs to be changed. Contact Sybase Technical
Support for assistance in making this adjustment.
rs_create_repdef [all, TABLE_NAME]
A replication definition is created for all tables and procedures that are marked for replication.
A replication definition is created for that table or procedure.
When rs_create_repdef is invoked and the parameter "all" or "ALL" is entered, a replication definition is created for all tables or procedures that are marked for replication.
When rs_create_repdef is invoked and the name of a table or procedure that is marked for replication is entered, a replication definition is created for that table or procedure.
For each table or procedure for which a replication definition create is attempted, a result set is returned. The result set contains the replication definition name and status of the create. If the replication definition was created, the status will be "created." If an error occurred, an error message from Replication Server will be returned.
The character case of the object names in the replication definition will be set according to the ltl_character_case setting.
Replication definition names for tables always begin with the prefix "ra$," followed by a unique alphanumeric identifier (maximum of 8 characters), and ending with a table or object name. For example, for a replicate name of "My Table," the resulting repdef name is "ra$0x7952_mytable." For an especially long replicate name of "mytable89012345678901234567890" (30 characters), the resulting repdef name is "ra$0x7952_mytable8901234567890" (30 characters maximum).
Replication definition names for procedures are the same name as the procedure.