Open topic with navigation

TIBCO® Patterns 6.1.2

# List Transactions (lkt_tran_list)

The following command returns statistics for transactions on the Patterns server.

    dvkerr_t lkt_tran_list(lpar_t host, lpar_t tran_list,
                           lpar_t options, lpar_t *tran_stats );

Only transactions that have been created but not committed or rolled back are reported. The listing can be restricted to specific transaction IDs or by transaction idle time or both.

## Input

## host (optional)

For more information, see Communicating with TIBCO Patterns Servers.

## tran_list (optional)

is a list of LPAR_LONGINT_TRAN_ID. If present, only transactions in the list are reported.

## options (optional)

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

## Output

## tran_stats (required)

where the list of transaction statistics is returned.

LPAR_INT_TRAN_IDLETIME is the only option that is allowed. If its value > 0, only transactions that have been idle for more than the specified number of seconds are reported.

Each transaction statistics lpar is a list containing the following lpars:

| • | LPAR_LONGINT_TRAN_ID

| • | LPAR_INT_TRAN_TYPE

| • | LPAR_BOOL_TRAN_GATEWAY

| • | LPAR_INT_TRAN_STATE

| • | LPAR_INT_TRAN_IDLETIME

| • | LPAR_INT_TRAN_ERRORS

| • | LPAR_INT_TRAN_LOGSIZE

Error codes and items returned by lkt_tran_create

PARAMMISSING | (none)
PARAMTYPE | an item with invalid lpar type

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.