check publication

Description

Finds the status of a publication and the number of articles the publication contains.

Syntax

check publication pub_name
   with primary at data_server.database

Parameters

pub_name

The name of the publication to check.

with primary at data_server.database

Specifies the location of the primary data. If the primary database is part of a warm standby application, data_server.database is the name of the logical data server and database.

Examples

Example 1

Checks the status of the publication pubs2_pub, where the primary database is TOKYO_DS.pubs2:

check publication pubs2_pub
 with primary at TOKYO_DS.pubs2

Usage


Messages returned by check publication

Permissions

Any user may execute this command. A user who enters this command at a replicate Replication Server must have the same login name and password in the primary Replication Server.

See also

check subscription, create publication, validate publication