Serialization

Note: In this topic, the term program refers to a task or service request block (SRB) routine.

In a multi-tasking, multi-processing environment, resource serialization is needed to coordinate access to resources that are used by more than one program. An example of why resource serialization is needed occurs when one program is reading from a data set and another program needs to write to the data set. To maintain data integrity, the program that needs to write must wait until the program that is reading the data set is finished. Both programs need serialization to coordinate access to the data set.

z/OS® provides resource serialization services that programs can use to serialize access to resources. The following examples describe other situations that require serialization:
In addition to the serialization function, some of the serialization services provided on MVS™ can be used to:

This information describes the resource serialization services that are available on MVS and the functions that each service performs, and provides guidelines for choosing a serialization service that is appropriate for your application.