Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
What can a program do with a data space or a hiperspace? z/OS MVS Programming: Extended Addressability Guide SA23-1394-00 |
|
Programs can use data spaces and hiperspaces to:
You can place all types of data in a data space or hiperspace,
rather than in an address space or on DASD. Examples of such data
include:
Because data spaces and hiperspaces do not include system areas, the cost of creating and deleting them is less than that of an address space. To help you decide whether you need this additional storage area, some important questions are answered in the following sections. These same topics are addressed in greater detail in the appropriate sections in this document. How Does a Program Obtain a Data Space or a Hiperspace™? Data spaces and hiperspaces
are created through the same system service: the DSPSERV macro. On
this macro, you request either a data space or a hiperspace. You
also specify some characteristics for the space, such as:
The macro service allocates contiguous virtual storage of the size (up to two gigabytes) you specify. Who Owns a Data Space or Hiperspace? Although programs create data spaces and hiperspaces, they do not own them. When a program creates a data space or hiperspace, the system assigns ownership to the TCB that represents the program or to the TCB that your program chooses as the owner. When a TCB terminates, the system deletes any data spaces or hiperspaces that the TCB still owns. If you want the space to exist after the creating TCB terminates, assign the space to a TCB that will continue to be active beyond the termination of the creating TCB. Can Problem State Programs Use Data Spaces and Hiperspaces? Problem state programs can create and use both data spaces and hiperspaces. Some types of data spaces and hiperspaces require that a program be supervisor state or have PSW key 0-7. |
Copyright IBM Corporation 1990, 2014
|