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


Example of adding an access list entry for a hiperspaces

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

The following code uses DSPSERV to create a non-shared standard hiperspace named TEMP. The system returns the STOKEN of the hiperspace in HSPCSTKN and the origin of the hiperspace in HSPCORG. The ALESERV ADD macro returns the ALET in HSPCALET. The program uses the ALET on the HSPALET parameter on HSPSERV to access the hiperspace.
         DSPSERV CREATE,TYPE=HIPERSPACE,NAME=HSPCNAME,
               STOKEN=HSPCSTKN,BLOCKS=HSPBLCKS,ORIGIN=HSPCORG
         ALESERV ADD,STOKEN=HSPCSTKN,ALET=HSPCALET,AL=PASN
         .
HSPCSTKN DS   CL8                      HIPERSPACE STOKEN
HSPCALET DS   F                        HIPERSPACE ALET
HSPCORG  DS   F                        HIPERSPACE ORIGIN RETURNED
HSPCNAME DC   CL8'TEMP    '            HIPERSPACE NAME
HSPBLCKS DC   F'1000'                  HIPERSPACE SIZE (IN 4K BLOCKS)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014