stat_xact

Description

Return the current status of a distributed transaction.

Syntax

int stat_xact(connect, commid)
 
DBPROCESS     *connect;
DBINT                   commid;

Parameters

connect

A pointer to the DBPROCESS used to communicate with the commit service.

commid

The commid is used to identify the transaction to the commit service. If commid is -1, all commit service records are displayed.

Returns

A character code: “a” (abort), “b” (begin), “c” (commit), “u” (unknown), or -1 (request failed).

Usage

This routine returns the transaction status for the specified distributed transaction.

See also

abort_xact, commit_xact, remove_xact, scan_xact, start_xact