abort_xact

Description

Mark a distributed transaction as being aborted.

Syntax

RETCODE abort_xact(connect, commid)
 
DBPROCESS     *connect;
DBINT                  commid;

Parameters

connect

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

commid

The commid used to identify the transaction to the commit service.

Returns

SUCCEED or FAIL.

Usage

This routine 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