Sybase added the following Replication Agent commands for creating and removing replication definitions:
rs_create_repdef
rs_drop_repdef
pdb_auto_create _repdef
This includes commands that allow replication definitions to be automatically created when tables or procedures are marked, and to be removed when they are unmarked.
For more information, see the Replication Agent Reference Guide.