Committing a Transaction (lkt_tran_commit)

The following command commits all the work done under the specified transaction.

dvkerr_t lkt_tran_commit( lpar_t host, lpar_t tran_lpar, 
lpar_t options );

Input

host (optional)

For more information, see Communicating with TIBCO Patterns Servers.

tran_lpar (required)

is an LPAR_LONGINT_TRAN_ID holding the ID of the transaction to commit.

options (optional)

might contain a single option or a list of allowable options.

 

LPAR_BOOL_DOMAXWORK is the only option that is allowed. If its value is true then the transaction is committed in spite of the errors occurred during work under this transaction. Using this option is not recommended as it might cause inconsistency. Consult TIBCO support before using this option.

 

Error codes and items returned by lkt_tran_create

PARAMMISSING

(none)

PARAMTYPE

item with invalid lpar type.

HASERRORS

(none)

TRAN_UNKNOWN

The lpar containing the unknown transaction id.