sysadmin issue_ticket

Description

Injects an rs_ticket marker into the inbound queue.

Syntax

sysadmin issue_ticket {,q_number} |{,ds_name, db_name}, h1 [, h2 [, h3 [, h4]]] [,v]

Parameters

ds_name

Name of the data server on which the database resides.

db_name

Name of the database.

q_number

Identifies the stable queue.

h1,h2,h3

Each each parameter contains from 1– 10 characters; these parametersmust follow the database identifier naming convention since the parameters are used as identifiers, in any way you see fit. The header parameter must not start with a number and must not be a reserved word. If number is chosen to be a header parameter, it must be within quotes. For example, ‘1’.

h4

Contains from 1– 50 characters. Like h1, h2, and h3, you can use this parameter as an identifier in any way you see fit.

v

Identifies the version number of the rs_ticket. It should be either 1 or 2. The default value is 2, if not specified.

Examples

Example 1

This command injects one transaction in to the Replication Server inbound queue.

sysadmin issue_ticket, 103, 'start'
go

where:

103 is the q_number of a logical connection to Replication Server.

Usage

When using the sysadmin issue_ticket command: