Open topic with navigation

TIBCO® Patterns 6.1.2

# 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.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO® Patterns

Copyright © 2010-2025. Cloud Software Group, Inc. All Rights Reserved.