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