How does a program obtain a data space and 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 (TYPE=BASIC) or a hiperspace (TYPE=HIPERSPACE). You also specify some characteristics of the space, such as its size and its name.

The DSPSERV macro service gives you contiguous 31-bit addressable virtual storage of the size you specify and initializes the storage to binary zeros.

z/OS MVS Programming: Assembler Services Reference ABE-HSP contains the syntax and parameter descriptions for the macros that are mentioned in this chapter.