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


Summary of rules for creating, deleting, and using data spaces

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

Table 1 summarizes the rules for what programs can do with data spaces. The third column describes what a problem state program can do if it is PSW key 8 through F. The fourth column describes what a supervisor state program or any program having PSW key 0 through 7 can do.

Table 1. Creating, Deleting, and Using Data Spaces
Function Type of data space A problem state, key 8 - F program: A supervisor state or key 0-7 program:
CREATE SCOPE=SINGLE Can create a SCOPE=SINGLE data space. Can create the data space if its primary or home address space is the same as the intended owner's home address space
SCOPE=ALL SCOPE=COMMON Cannot create the data spaces. Can create the data space if its primary or home address space is the same as the intended owner's home address space
DELETE SCOPE=SINGLE Can delete the SCOPE=SINGLE data spaces it owns or created if its PSW key matches the storage key of the data space. Can delete a SCOPE=SINGLE data space if its primary or home address space is the same as the owner's home address space.
SCOPE=ALL SCOPE=COMMON Cannot delete the data space. Can delete the data space if its primary or home address space is the same as the owner's home address space.
RELEASE SCOPE=SINGLE Can release storage in the data spaces it owns or created if its PSW key matches the storage key of the data space. Can release storage in a SCOPE=SINGLE data space if its primary or home address space is the same as the owner's home address space and its PSW key matches the storage key of the data space.
SCOPE=ALL SCOPE=COMMON Cannot release the storage. Can release storage in the data space if its PSW key matches the storage key of the data space.
EXTEND SCOPE=SINGLE SCOPE=ALL SCOPE=COMMON Can extend the current size if it owns the data space. Can extend the current size.
LOAD or OUT SCOPE=SINGLE SCOPE=ALL SCOPE=COMMON Can page areas into (and out of) central storage from (or to) a data space created by any task in its address space. Can page areas into and out of central storage.
Add entries to the DU-AL SCOPE=SINGLE Can add entries for the SCOPE=SINGLE data spaces it owns or created. Can add entries for a SCOPE=SINGLE data space if the caller's home and owner's home address space are the same.
SCOPE=ALL SCOPE=COMMON Cannot add the entries. Can add entries for the SCOPE=ALL (not the SCOPE=COMMON) data space.
Add entries to the PASN-AL SCOPE=SINGLE Can add entries if it owns or created the data space, and the data space is not already on the PASN-AL as a result of an ALESERV ADD issued by a problem state program with PSW key 8 - F. Can add entries for a SCOPE=SINGLE data space if its PASN-AL is the same as the PASN-AL of the owner's home address space.
SCOPE=ALL SCOPE=COMMON Cannot add entries. Can add entries for a SCOPE=ALL and a SCOPE=COMMON data space.
Access a data space through a DU-AL or PASN-AL SCOPE=SINGLE SCOPE=ALL SCOPE=COMMON Can access a data space through an access list if the entry for the data space exists and the program has the ALET. Data space storage is subject to storage key and fetch protection. Can access a data space through an access list if the entry for the data space exists and the program has the ALET. Data space storage is subject to storage key and fetch protection.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014