An IMS system includes a set of databases that are potentially available to all the declared application programs. Access to an individual database is a characteristic that you define in a program's PSB. Data sharing support makes it possible for application programs in separate IMSs to have concurrent access to the same set of databases. IMSs use lock management to ensure that database changes at the segment level that originate from one program are fully committed before other programs can access that segment's data. IMS systems can share data in a sysplex environment and in a non-sysplex environment.
With data sharing, two levels of control are possible (controlled through DBRC):
Differences exist in support for data sharing configurations. Generally, a complete database is regarded as a data resource. When invoked within an IMS online system, or as a batch IMS system, the data resource must be available for an individual application program to process. The resource is not available if, for example, a data resource is either used exclusively by one IMS, is flagged as needing recovery, or backup procedures are in process. For DEDBs, the data resource is further divided; each individual area is considered a unit of data resource. Throughout this chapter, a "database" is equivalent to a DEDB area unless otherwise noted. Here are some of the restrictions that apply to data sharing:
Related Reading:
In This Chapter:
|