cjcommittrn (Commit unconcluded transaction)

Format

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

Function

Specifies the unconcluded (Prepared) global transaction ID existing on a J2EE server and commits the transaction. Note that you can use this command when the TP1 inbound integration functionality is used.

If the specified global transaction ID exists, the command concludes the transaction.

If the specified global transaction ID is invalid, the command returns KFCB40122-E and the Usage (KFCB40130-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 the 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. These items are specified 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 committed.

Input examples

cjcommittrn 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