A blocking command that allows a client session in the Replication Server to wait for the switch to the new active database to complete.
wait for switch for <logical_ds>.<logical_db>
The data server name for the logical connection.
The database name for the logical connection.
After the switch active operation is complete, wait for switch displays status information.
wait for switch may be most helpful when used in scripts.
wait for switch requires “sa” permission.