suspend component

Suspends a component in a specified server. The command suspends a DSI thread, a route in a Replication Server, or a RepAgent thread in an Adaptive Server Enterprise.

Syntax

suspend {dsi | rep agent | route} component_name 
	for {server_name | group_name} [with nowait]

Parameters

Examples

Usage

  • The rep agent component type is used to suspend either a Replication Agent thread for a connection in a Replication Server, or a RepAgent thread in an Adaptive Server Enterprise.

  • The with nowait option is valid with a Replication Server DSI connection or an Adaptive Server Enterprise RepAgent thread.

  • suspend component issues the sp_stop_rep_agent stored procedure when suspending a RepAgent thread in an Adaptive Server Enterprise.

  • suspend component returns the following result set:

    Column Descriptions for suspend component

    Column

    Description

    Action

    The name of the action.

    Result

    The result of the execution.

Related reference
configure component
get component
get threads
resume component