An LID is a serially incremented 4-byte value that uniquely identifies work done by a local transaction branch. With the increased need for non-stop operations, there is a greater chance that LID values may wrap within the lifetime of a central version. This, in turn, could lead to a situation in which duplicate LID values are in use, if a database session existed long enough for its LID value to be repeated. To minimize this possibility, you can force the assignment of a new LID value each time a long running database session commits or backs out its work. Doing so has the added benefit of reducing recovery time.
To force the assignment of a new LID value, specify ON COMMIT WRITE ENDJ NEW ID and ON ROLLBACK NEW ID on the SYSTEM or TASK statements in the system definition or specify this dynamically using the DCMT VARY TASK or VARY DYNAMIC TASK commands.
Note: There is no need to specify this for system run units, since a new LID value is always assigned when they are committed or backed out.
More Information
|
Copyright © 2014 CA.
All rights reserved.
|
|