z/OS MVS Programming: Extended Addressability Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Scope=single, scope=all, and scope=common data spaces

z/OS MVS Programming: Extended Addressability Guide
SA23-1394-00

Data spaces are either SCOPE=SINGLE, SCOPE=ALL, or SCOPE=COMMON, named after the SCOPE parameter on the DSPSERV CREATE macro.
  • SCOPE=SINGLE data spaces

    A SCOPE=SINGLE data space with an entry on a PASN-AL can be used by programs running in the owner's address space. A SCOPE=SINGLE data space with an entry on a DU-AL can be used by programs represented by TCBs or SRBs whose home address space is the same as the owning TCB. It would typically be used in ways similar to private storage in an address space.

  • SCOPE=ALL data spaces

    A SCOPE=ALL data space can be used by programs running in the owner's primary address space and other address spaces. SCOPE=ALL data spaces provide a way to share data selectively among programs running in multiple address spaces.

  • SCOPE=COMMON data spaces

    A SCOPE=COMMON data space can be used by all programs in the system. It provides a commonly addressable area similar to the common service area (CSA). A SCOPE=COMMON data space is sometimes called a common area data space.

The home address space of the owner of a SCOPE=ALL or SCOPE=COMMON data space must be non-swappable during the time that other address spaces have access to the data space.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014