Marks the starting point of a user-defined transaction.
begin tran[saction] [transaction_name]
When a begin transaction command is received by Adaptive Server, it is not known which remote servers are involved in the transaction. When subsequent statements require Component Integration Services involvement, Component Integration Services determines whether a transaction is active or not, and if so, registers any remote servers as participants in the transaction during the execution of the statement. The first time Component Integration Services registers a new participant, ASTC ensures that a transaction is begun on the participant, unless that participant has no-DTM capability.
For all server classes, when Adaptive Server receives a begin transaction command, an internal state is set that marks the beginning of a transaction. At this point, Component Integration Services is not involved, and the command is not immediately forwarded to remote locations.
transaction_name is not currently used by Component Integration Services.
begin transaction in the Reference Manual