Previous Topic: Resetting the TSNNext Topic: Multi-User Facility Connection when KEYNAME=*RTSN


When to Use

The master TSN is stored in the Log Area (LXX). When the Log Area is initialized, the TSN number is set either to zero or to a value specified by the user. An error condition occurs when the Log Area is initialized with a lower TSN number than currently exists in the existing rows. This can be prevented by assigning a larger TSN number when initializing a Log Area. The error condition occurs because, if TSN numbers are reused, a new transaction could possibly wait on another executing transaction that has the same number as an already committed transaction. This would involve a short wait on the wrong transaction and is only a minor concern.