OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/J

[Contents][Index][Back][Next]

2.3.6 Verifying the transaction synchronization point in the event of an error

If an error occurs on a transaction that was started by a CUP, you can verify whether or not its transaction branch has been committed. To do this, you must obtain the current transaction global identifier and transaction branch identifier by calling the getTrnID method before the transaction is started.

You can determine whether or not the transaction started by the CUP has been committed by comparing the transaction global identifier obtained from the CUP beforehand with the transaction result output to TP1/Server's message log file.

You use the logcat command to display the contents of TP1/Server's message log file. For details about the logcat command, see the manual OpenTP1 Operation.

The following figure shows the method for verifying the transaction synchronization point in the event of an error.

Figure 2-17 Method for verifying the transaction synchronization point in the event of an error

[Figure]