cjforgettrn (Conclude heuristic transactions forcibly)

Format

cjforgettrn [server-name] [-nameserver provider-URL]
     -gid global-transaction-ID

Function

Specifies the global transaction ID of a heuristically concluded (HeuristicCommit, HeuristicRollback, HeuristicMixed, HeuristicHazard) transaction and forcibly terminates the transaction. Note that you can use this command when the TP1 inbound integration functionality is used.

If the status of the specified transaction differs from HeuristicCommit, HeuristicRollback, HeuristicMixed, or HeuristicHazard, this command returns KFCB40135-E.

If the specified global transaction ID exists, the command forcibly terminates the transaction.

If the specified global transaction ID is invalid, the command returns KFCB40122-E and the Usage (KFCB40134-E).

If the specified global transaction ID does not exist, the command returns KFCB40131-E; however, does not return the Usage.

The usrconf.properties (user property file for J2EE servers) settings can be executed in the following cases:

Arguments

server-name
Specifies the name of a connected J2EE server. If the server name is omitted, the host name is used as the server name.
-nameserver provider-URL
Specifies the access protocol for the CORBA Naming Service, the name of the host running the CORBA Naming Service, and the port number being used by the host, in the following format:

protocol-name::host-name:port-number

For details on the specified contents, see 2.1(2) Provider URL.
-gid global-transaction-ID
Specifies the global transaction ID of the transaction to be concluded forcibly.

Input examples

cjforgettrn MyServer -gid d13800010000000000000000000000fefb57e6480000000000000001

Return values

0:
The command terminated normally.
1:
The command terminated abnormally.
3:
A timeout occurred.
9:
The command cannot be executed because there are no administrator privileges (in Windows Server 2012, Windows Server 2008, Windows 8, Windows 7, or Windows Vista).

Notes