Application-Level Options

At application level, you can:

Segment Level Configuration Properties

The Two Phase Commit Segment configuration property under the Runtime Options is used by both External Automatic Entry (HUB) and OLTP transactions. This property defines the protocol used for database updating with External Automatic Entries.

Set this property to True to use the Two-Phase commit protocol.

When you use Two-Phase commit with OLTP, the following process occurs:

The sending and receiving systems can then roll back to a synchronized point, if both have not successfully completed their related transactions.

When you have enabled Two-Phase commit, by setting to True the Two phase Commit Segment configuration property, any OLTP requests initiated defaults to inherit the 2PC status, and forms part of the current Global Transaction. This default can be controlled in your logic, by changing the built-in segment attribute Glb.TwoPC when the Send() built-in persistent class method is invoked on the target attribute. The Send() method takes the appropriate action depending on whether it is an internal or external automatic entry

When you do not use Two-Phase commit with OLTP, the following process occurs:

Refer to Interfacing to Systems of the Agile Business Suite Administration Guide for the relevant host type for more information about the external automatic entries and online transaction processing.

OLTP Segment Configuration Properties

The Segment configuration properties under the OLTP category in Builder enables you to define your OLTP environment for the specified Configuration. Properties specific to particular host types are indicated: