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


SHAREMEMOBJ request

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

To get access to the shared memory object, a program uses the SHAREMEMOBJ service. An address space can issue more than one SHAREMEMOBJ request for the same memory object. To separate each of the requests for the same memory object you need to specify a different user token.

Parameters for the IARV64 SHAREMEMOBJ service include:
  • USERTKN=user token uniquely identifies the user token to be associated with the memory object. For a single shared memory object, the given user token is allowed to be duplicated in distinct address spaces, but not allowed to be duplicated within a single address space.
  • RANGLIST=ranglistptr specifies an address pointing to a list of memory objects that the program wants to access.
  • NUMRANGE=numrange specifies the number of entries in the supplied range list pointed to by RANGLIST. You can specify up to 16 memory objects.
  • ALETVALUE=aletvalue indicates the ALET of the address space that will access the memory object.
  • SVCDUMPRGN=YES/NO specifies whether or not the shared memory object is included in an SVC dump. The default is SVCDUMPRGN=YES.

For an example of this request, see Example of accessing a shared memory object – SHAREMEMOBJ.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014