TRANSACTION attribute

A handle to the current transaction object. Returns the Unknown value (?) for a Web service procedure.

Data type: HANDLE

Access: Read-only

Applies to: Procedure object handle, SOURCE-PROCEDURE system handle, TARGET-PROCEDURE system handle, THIS-PROCEDURE system handle

The transaction handle returned by this attribute provides attributes and methods that allow you to manage a transaction object running on an AppServer. In an ABL client session, or in an AppServer session that has no active transaction initiating procedure, you can only use the IS-OPEN attribute to check whether a transaction is open.

For more information on the AppServer and transaction initiating procedures, see the TRANSACTION-MODE AUTOMATIC statement reference entry and OpenEdge Application Server: Developing AppServer Applications. For more information on the attributes and methods provided by the transaction handle, see the Transaction object handle reference entry in the Handle Reference.