Using a blocking command for switch active

In Replication Server, the wait for switch command is a blocking command. It tells Replication Server to wait until the standby database is ready for operation. You can use this command in a script that switches the active database. The syntax is:

wait for switch for logical_ds.logical_db