Use a Blocking Command for Standby Creation

Use the wait for create standby Replication Server blocking command to instruct Replication Server not to accept commands until the standby database is ready for operation.

You can use this command in a script that creates a standby database. The syntax is:
wait for create standby for logical_ds.logical_db