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


Cleaning Up

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

Before shutting down, the service provider must remove all cross memory connections and release any cross memory resources it owns. After ensuring that all connections to the entry table have been disconnected, the service provider destroys the entry table.
DESET1     ETDES  TOKEN=TKVALUE,RELATED=CET1

The service provider then frees the LX so it will be available for reuse. If this is not a reusable LX, the address space will only be available for reuse if no other address space is connected to the LX.

Non-extended LXLIST
FREELX     LXFRE  LXLIST=LXL,RELATED=LXRES
Extended LXLIST
FREELX     LXFRE  ELXLIST=ELXL,RELATED=ELXRES
The service provider then resets the AX of its address space to zero.
           SR     2,2                   ZERO VALUE
RESETAX    AXSET  AX=(2),RELATED=LXRES  RESET AX TO ZERO
Finally, the service provider frees the AX so the system can reuse it. Freeing the AX removes PT and SSAR authority corresponding to the service provider's AX in all authority tables in the system.
FREEAX     AXFRE   AXLIST=AXL,RELATED=GETAX

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014