admin verify_repserver_cmd

Verifies that Replication Server can successfully execute a replication definition request.

Syntax

admin verify_repserver_cmd, ‘rs_api

Parameters

Examples

Usage

  • When Replication Agent sends a replication definition RCL to Replication Server to execute, and the replication definition RCL fails to execute, Replication Agent shuts down. To avoid this situation, use admin verify_repserver_cmd to verify that Replication Server can successfully execute a replication definition request before you execute the RCL directly from the primary database. Replication Server returns an error if it cannot successfully execute the request.

  • Replication Server supports admin verify_repserver_cmd for the same replication definition commands as rs_send_repserver_cmd:

    • alter replication definition

    • create replication definition

    • drop replication definition

    • alter applied function replication definition

    • create applied function replication definition

    • alter request function replication definition

    • create request function replication definition

Permissions

Any user may execute this command.

Related reference
admin verify_repserver_cmd
alter replication definition
rs_send_repserver_cmd
sysadmin skip_bad_repserver_cmd