Create the subscription

The rs_create_test_db_sub.sql script in the %SYBASE%\RAX-15_1\scripts\sybase directory is designed for use with Replication Server 11.5 or later and is provided for this step.

StepsTo create the test subscription

NoteThis procedure assumes that no materialization is necessary. See the Replication Agent Administration Guide for more information about database materialization.

  1. Edit the subscription script file (rs_create_test_db_sub.sql) so that the values for PDS.PDB in the with primary at clause match the PDS.PDB values that you used to create the connection for the primary data server and primary database. These values are initially {pds}.{pdb}. Also, change the values for RDS.RDB on the with replicate at clause for each command match the RDS.RDB values that you used to create the connection to the replicate data server and replicate database. These values are initially set to {rds}.{rdb}.

  2. Use isql or another query processor to access the replicate Replication Server and execute the appropriate script to create the test subscription.