DEFAULT-COMMIT attribute

(AppServer only; PAS for OE only)

Indicates how an open transaction under the control of a transaction initiating procedure is to complete if the procedure is deleted in the absence of any SET-COMMIT( ) method or SET-ROLLBACK( ) method.

Data type: LOGICAL

Access: Readable/Writeable

Applies to: Transaction object handle

Setting the DEFAULT-COMMIT attribute to TRUE ensures that the transaction is completed. Setting it to FALSE ensures that the transaction is rolled back. The default value is FALSE.

Note: One common event that can terminate an open transaction is deleting the transaction initiating procedure that created the transaction.