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


Deleting a hiperspace

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

When a program doesn't need the hiperspace any more, it can delete it. A problem state program with PSW key 8 - F can delete only the hiperspaces it owns, and must have the PSW key that matches the storage key of the hiperspace. A supervisor state program or a program with PSW 0 - 7 can delete a hiperspace if its home or primary address space is the same as the owner's home address space.

If you are not the owner of a hiperspace you are using, the hiperspace might disappear if the owner terminates or deletes it. For example, a problem state program can delete a hiperspace that a supervisor state program is using.

Example of Deleting a Hiperspace™

The following example shows you how to delete a hiperspace:
         DSPSERV DELETE,STOKEN=HSSTKN       DELETE THE HS
         .
HSSTKN   DS   CL8                           HIPERSPACE STOKEN

IBM® recommends that you explicitly delete a hiperspace before the owning task terminates. This frees up resources as soon as they are no longer needed, and avoids excess processing at termination time. However, if you don't, MVS™ automatically does it for you at termination time.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014