abort_xact

Marks a distributed transaction as canceled.

Syntax

RETCODE abort_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.

Returns

SUCCEED or FAIL.

Remarks

This function informs the commit service that the status of a distributed transaction should be changed from "begin" to "abort."

See Also

commit_xact, remove_xact, scan_xact, start_xact, stat_xact