Home

 

rsvmqtrn (resolve transactions)

 

 

Purpose

Use the rsvmqtrn command to commit or back out internally or externally coordinated in-doubt transactions.

Use this command only when you are certain that transactions cannot be resolved by the normal protocols. Issuing this command might result in the loss of transactional integrity between resource managers for a distributed transaction.

 

Syntax


>>-rsvmqtrn--+- -a -------------------------+-- -m --QMgrName--><     '-+- -b --------+--Transaction-'         +- -c --------+         '- -r --RMID -'    

 

Required parameters

-m QMgrName

The name of the queue manager.

 

Optional parameters

-a

The queue manager resolves all internally-coordinated, in-doubt transactions (that is, all global units of work).

-b

Backs out the named transaction. This flag is valid for externally-coordinated transactions (that is, for external units of work) only.

-c

Commits the named transaction. This flag is valid for externally-coordinated transactions (that is, external units of work) only.

-r RMID

The resource manager whose participation in the in-doubt transaction can be ignored. This flag is valid for internally-coordinated transactions only, and for resource managers that have had their resource manager configuration entries removed from the queue manager configuration information.

The queue manager does not call the resource manager. Instead, it marks the resource manager’s participation in the transaction as being complete.

Transaction

The transaction number of the transaction being committed or backed out. Use the dspmqtrn command to find the relevant transaction number. This parameter is required with the -b, -c, and -r RMID parameters.

 

Return codes

0 Successful operation
32 Transactions could not be resolved
34 Resource manager not recognized
35 Resource manager not permanently unavailable
36 Invalid arguments supplied
40 Queue manager not available
49 Queue manager stopping
69 Storage not available
71 Unexpected error
72 Queue manager name error
85 Transactions not known

 

Related commands

dspmqtrn Display list of prepared transactions

 

Parent topic:

The control commands


fa15890_


 

Home