stat_xact

Returns the status of the specified distributed transaction.

Syntax

INT stat_xact (
PDBPROCESS
connect,
DBINT
commid );

where

connect
Is the DBPROCESS structure used to communicate with the commit service.
commid
Is the number used by the commit service to identify the transaction. 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).

See Also

abort_xact, commit_xact, remove_xact, scan_xact, start_xact