Rolls back an indoubt transaction (that is, a transaction that has been prepared). If the operation succeeds, the transaction's state becomes heuristically rolled back.
Scope
This API only affects the node on which it is issued.
Authorization
One of the following:
Required Connection
Database
Version
sqlxa.h
C API Syntax
/* File: sqlxa.h */ /* API: Roll Back an Indoubt Transaction */ /* ... */ extern int SQL_API_FN sqlxphrl( int exe_type, SQLXA_XID *pTransId, struct sqlca *pSqlca ); /* ... */ |
API Parameters
Usage Notes
Only transactions with a status of prepared or idle can be rolled back. Once heuristically rolled back, the database manager remembers the state of the transaction until sqlxhfrg - Forget Transaction Status is issued.
For information about the SQLXA_XID structure, see SQLXA-XID.