pdb_xlog

Description

Returns the names of transaction log base objects; creates transaction log base objects in the primary database; or removes transaction log base objects from the primary database.

For Oracle and Microsoft SQL Server, this command verifies permissions are valid for the Replication Agent to obtain system data from the primary database. It also checks the condition of the primary database to determine if archiving is turned on or off, and then loads the RASD with system data from the primary database.

NoteBecause the pdb_xlog create command is deprecated, Sybase recommends that you use pdb_xlog init.

Syntax

pdb_xlog [[init |create | remove] [, force]] | move_truncpt]

Parameters

init

The keyword for moving the truncation point to the end of the transaction log.

create

The keyword for creating a transaction log. Deprecated; use the init keyword instead.

remove

The keyword for removing a transaction log.

force

A keyword that refers to the remove or the init operation.

move_truncpt

A keyword that moves the truncation point; for Oracle and Microsoft SQL Server only.

Examples

Example 1

pdb_xlog init

This command initializes the Replication Agent, creating any required xlog base components.

pdb_xlog init, force

This command re-initializes the Replication Agent, creating or re-loading any required xlog base components.

pdb_xlog remove

This command removes any Replication Agent xlog base components.

pdb_xlog remove, force

This command removes any Replication Agent xlog base components and ignores any individual errors that occur during removal.

pdb_xlog init, move_truncpt

This command moves the transaction log truncation point to the end of the current transaction log (Oracle and Microsoft SQL Server).

Usage

See also

pdb_setrepcol, pdb_setrepproc, pdb_setreptable, ra_config