Chapter 4. Integrity and security 67
4.2.1 Serialization
Serialization means make a resource to be used on a one-at-a-time basis. In a
multi-user environment, it is possible for two or more tasks to attempt to update
the same data at the same time. This would jeopardize the integrity of the data.
z/OS has several methods for preventing tasks from concurrent updates:
enqueue, reserve, lock, and global resource serialization services.
Enqueue
Enqueues (ENQs) are designed as a protocol for sharing resources. Resources
to be shared are given names that all users of the resource agree to use when
they wish to access that resource. A request can be issued for
shared or
exclusive use, depending on whether or not the requester plans to make changes ...