Create a database replication subscription.
cp rs_create_test_db_sub.sql my_rs_create_db_sub.sql
Save the values of pds and pdb to be used later for the rs_source_ds and rs_source_db parameters in the Replication Agent oracle.rs file.
create subscription NY_sub1
for database replication definition NY_repdef1
with primary at NY.NYora92
with replicate at DCOServer.oratest2
without materialization
go
isql -Usa -P –SSAMPLE_RS -i my_rs_create_db_sub.sql
You see a message indicating that the subscription is being created.