Transactions

A transaction is a group of changes that appear as a single change, such as the transfer of funds from a savings account to a checking account.

Transactions can be classified into the following categories:

Revisions made to files during transaction processing are journaled when using commitment control.

If the system or job ends abnormally, journaling alone can ensure that, at most, only the very last record change is lost. However, if the system or job ends abnormally during a complex transaction, the files reflect an incomplete logical transaction. For example, the job might have updated a record in file A, but before it updates a corresponding record in file B, the job ended abnormally. In this case, the logical transaction consists of two updates, but only one update had completed before the job ended abnormally.