sysadmin sqm_zap_command

Deletes a single message in a stable queue.

Syntax

sysadmin sqm_zap_command, q_number, q_type,
 seg, blk, row

Parameters

Examples

Usage

  • The Replication Server must be in standalone mode to use sysadmin sqm_zap_command.

  • Use sysadmin dump_queue to locate the message you want to delete.

  • sysadmin sqm_zap_command marks a message in a stable queue as deleted. When Replication Server processes the queue, it ignores the marked message.

  • You can restore a message using sysadmin sqm_unzap_command. This command removes the delete mark from the message.

  • If you delete a message and then restart Replication Server in normal mode, the part of the queue holding the message may have been processed. If it was, you cannot restore the message with sysadmin sqm_unzap_command.

Permissions

sysadmin sqm_zap_command requires “sa” permission.

Related reference
admin who
sysadmin dump_queue
sysadmin sqm_unzap_command