sysadmin sqm_unzap_tran

Restores a specific transaction into the stable queue and returns a message stating the number of restored commands.

Syntax

sysadmin sqm_unzap_tran {, q_number, | server [,database]},
        q_type, lqid 
        [, {L0 | L1 | L2 | L3}]
        [, {RSSD | client | “log” | file_name}]

Parameters

Examples

Usage

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

  • sysadmin sqm_unzap_tran removes the delete mark from a transaction in a stable queue. Use this command to restore a transaction that you marked deleted using sysadmin sqm_zap_tran.

  • Use sysadmin dump_queue to locate the transaction you want to restore.

  • sysadmin sqm_unzap_tran dumps the restored transaction contents into one of these:
    • Replication Server log

    • Alternate log file

    • RSSD

    • Client issuing the command

    To dump queues into the RSSD or client, the last argument of sysadmin dump_queue must be RSSD or client.

    If the RSSD or client option is not specified, or if the "log" option is specified, output goes into the Replication Server log.

    If an alternative log file for dumping queues is specified through the sysadmin dump_file command or through the file_name option, the output goes into the alternative dump file.

Permissions

sysadmin sqm_unzap_tran requires “sa” permission.

Related reference
admin who
sysadmin sqm_unzap_command
sysadmin sqm_zap_command
sysadmin sqm_zap_tran