rs_helpsub

Description

Displays information about subscriptions.

Syntax

rs_helpsub
 [subscription_name [, replication_definition
	[, data_server, database]]]

Parameters

subscription_name

A string of characters that corresponds to a subscription name. The string must match an entire subscription name or the first part of a name.

replication_definition

The replication definition subscribed to.

data_server

The data server with the database containing the subscription’s data.

database

The database containing the subscription’s data.

Examples

Example 1

Displays summary information about all available subscriptions. The “Unknown” status in the last column reflects the fact that the current Replication Server has no knowledge of the subscription status at the listed Replication Server (the primary Replication Server).

rs_helpsub
 ** This Site is 'SYDNEY_RS' **
                                                         Status at
 Subscription Name Rep. Def. Name  Replicate DS.DB  A/C RRS      PRS
 ----------------- --------------- ---------------- --- -------- ------
 authors_sub       authors_rep     SYDNEY_DS.pubs2  0   Defined  Unknown
 titles_sub        titles_rep      SYDNEY_DS.pubs2  0   Valid    Unknown

Example 2

Displays detailed information about the authors_sub subscription.

rs_helpsub authors_sub
Subscription Name Rep. Def. Name  Replicate DS.DB  A/C RRS      PRS
----------------- --------------- ---------------- --- -------- ------
authors_sub       authors_rep     SYDNEY_DS.pubs2  0   Defined  Unknown

Owner                 Creation Date
--------------------  -------------
sa                    Sep 22 1995

Subscription  Text
---------------------------------------------------------------------
 create subscription authors_sub
   for authors_rep
   with replicate at SYDNEY_DS.pubs2
   where
   state = "CA"

Usage