commit_xact

Description

Mark a distributed transaction as being committed.

Syntax

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

If commit_xact fails, you must roll back the transaction.

Usage

See also

abort_xact, remove_xact, scan_xact, start_xact, stat_xact