Mohammad,
Sorry for the misdirection.
I can't find any other groups so I guess this is the 'right' place for SAP on Sybase repserver.
For general purpose comments on switching activities we'd need to know if your replication is setup using table-level replication (I kinda doubt this), MSA or WarmStandby. Unless you've got documentation that answers this question you can run the following:
- if using WarmStandby then you'll need a logical connection that relates your PDS.PDB to your RDS.RDB; you can log into the repserver and run 'admin logical_status'; if this returns some records that include your PDS.PDB and RDS.RDB pairs then you're using warm standby
- if using MSA you can log into the (e)RSSD and run rs_helpdbrep and rs_helpdbsub; if you're using MSA the output from these commands will show the database repdef and subscription related to your databases
Otherwise you'll need to a) wait for someone with SAP-centric/replication server knowledge to read this thread or b) open a case with SAP tech support to see if they have some documentation on how to switch databases in a SAP application/replication environment.