filter connection

Returns current filter settings, or sets the filter setting for a connection. The command can filter either the Replication Agent thread or the DSI thread status.

Syntax

filter connection for replication_server_name [{rep agent | dsi} [={on | off}]]

Parameters

Examples

Usage

  • When a filter is turned on, the connection status is displayed as “Hidden.” The status of the connection is not rolled up into the status of the Replication Server.

  • If the rep agent filter is turned on, the RMS does not report the status of the Replication Agent thread or RepAgent thread in the Adaptive Server Enterprise, Replication Agent, or the Replication Server.

  • When you invoke the filter command with no options specified, it returns a list of specified connections.

  • filter returns the following result set:

    filter connection Result Set (List of Filtered Connections)

    Column

    Description

    RepServer

    The name of the Replication Server

    Connection

    The name of the connection

    DSI

    The filtering value of DSI

    rep agent

    The filtering value of rep agent

  • The filter command returns the following result set, if you have turned filtering on or off for the connection:

    filter connection Result Set (Filtering Turned On/Off)

    Column

    Description

    Action

    The name of the action

    Result

    The result of the execution

Related reference
get network spec
get threads