OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P

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

2.4.4 Collecting identifiers for current transactions

By issuing the dc_clt_get_trnid_s function, the CUP can collect the current transaction global identifiers and transaction branch identifiers.

A transaction global identifier is needed to check whether the transaction started from the CUP has been committed when an error occurs. After any of the following functions is issued for possible errors, the dc_clt_get_trnid_s function must be issued: