### Query

.Transaction Query page allows you to search for and display transaction information.

There are three ways to initiate a transaction query:

- specify partial or complete Global Transaction ID (GTRID) for specific transaction
- specify the earliest time when the transaction was started
- specify both GTRID and time

Clicking submit displays a GTRID general information table. Table 1-28 list the GTRID general information properties.

Table 1-28 GRTRID General Information Page
Name | Description
No. | Sequence number. Starts at 1.
Initiator | Transaction initiator. Consists of the value of following fields separated by a space: `<DOMAINID>:<master address>:<IPCKEY>`(see Table 1-12) Machine ID (LMID in UBBCONFIG's *MACHINES section) Group Name, server only Process Name Server ID (SRVID in UBBCONFIG's *SERVERS section), server only Process ID (pid).
GTRID | Global Transaction ID.
Status | Indicates finished request. Indicates pending request. Indicates failed request.
Start Time | Transaction starting time in the format of `YY/MM/DD hh:mm:ss:SSS', where SSS stands for milliseconds.
Duration | Transaction life time
Exec Time | Total time elapsed for all Transaction operations.
Parent GTRID | denote original GTRID for transaction across Tuxedo domain.

Note: | Click on any of the column headings to sort in ascending or descending order.

Clicking on a GTRID displays three additional tables:

- Transaction Participant(s)

Displays which group join this transaction and particular, which servers (process name, server ID and pid) in that group is participating.

- Involved Call Correlation ID(s)

Provides a link t that lists Call Correlation ID(s) executed under a transaction for a specific server.

- Transaction Detail

Table 1-29 lists the Transaction Detail page properties.

Table 1-29 Transaction Detail Information
Name | Description
No. | Sequence number. Starts at 1.
Location | where Transaction operation occurred in the same format as "Initiator" in brief table.
XA OP | Transaction operation name.
Retcode | Transaction operation return code.
Start Time | Transaction operation starting time in format of `YY/MM/DD hh:mm:ss:SSS", where SSS stands for milliseconds.
Exec Time | Seconds elapsed for given Transaction operation.

#### Query Transaction information for a Specific GTRID

To query transaction information for a specific GTRID, do the following steps:

1. Enter GTRID value. Check Exact Match if partial GTRID entered.

Note: | When Exact Match is not checked, all transactions that include a GTRID are shown.

2. Reset Time Window to zero if you are not sure when the transaction started.
3. Click the Submit or Refresh button;
4. Click the GTRID to display more information.

#### Query All Past Transactions

To query all past transaction, do the following steps

1. Clear GTRID if it is not empty.
2. Enter the time interval in the Time Window to specify the earliest started transaction.
3. Click the Submit or Refresh button.
4. Click a GTRID to display more information.

#### Get GTRID Call information

To get GTRID call information, do the following steps:

1. Enter search information and click the Submit or Refresh button;
2. Click on a GTRID link under the GTRID column.
3. Click the link in the column next to Involved Calls Correlation ID(s). The Call Path Tree query page appears.

Note: | The "INFO: nothing found" error message may appear due to the following:

1. The call was started before TSAM server started
2. The call information was discarded due to the Call Path Information retire policy.

#### See Also

- Call Path Tree