Data sharing overview

An IMS system includes databases whose data can potentially be made available to, or shared with, all declared application programs. Access to a database is a characteristic defined in an application program's PSB. With data sharing support, application programs in separate IMS systems can concurrently access databases.

IMS systems use lock management to ensure that database changes at the segment level originating from one application program are fully committed before other application programs access that segment's data.

Data sharing among IMS systems is supported in both sysplex and nonsysplex environments.

With data sharing, two levels of locking control are possible:

Data access is protected so that:

In a data-sharing environment, an IMS system can be online or batch. For area-level sharing, participating IMS systems must be online. IMS utilities are considered as batch systems that work with database-level sharing.

Some differences exist in support for data sharing configurations. Generally, a complete database is regarded as one data resource. When the database is invoked within an IMS online system, or as a batch IMS system, it must be available for an individual application program to process. However, a database might not be available if, for example:

With data entry databases (DEDBs), however, the data resource is divided. In a DEDB, each individual area is considered a unit of data resource. In this topic on data sharing, when we use the term database, it means a DEDB area, unless otherwise noted.

With High Availability Large Databases (HALDBs), the database can be divided into one or more partitions. In a HALDB database, each individual partition is considered a unit of data resource. When the term database is used in reference to data sharing, it means a HALDB partition, unless otherwise noted.

Restrictions associated with data sharing are: