z/OS DFSMSrmm Application Programming Interface
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Specifying the option to release a resource

z/OS DFSMSrmm Application Programming Interface
SC23-6872-00

To release a resource, you must have access to the tokens associated with the resources that you want to release. If you no longer have access to the tokens or you have set the tokens to all zeros before you use OPERATION=RELEASE, there are only two ways that resources can be freed:
  • Your application program specifies OPERATION=ENDALL to free all resources associated with all tokens.
  • Your application program ends (end-of-task occurs).
In Figure 1, the OPERATION=ENDALL parameter is specified and TOKEN is not required.
Figure 1. TOKEN= not specified on EDGXCI
***************************************************
** Done with the subcommand, setup endall parmlist
***************************************************
  EDGXCI  MF=(M,RELPL,NOCHECK),PLISTVER=MAX,             X
        APIADDR=APIMOD@
 
***************************************************
** Call the DFSMSrmm API
***************************************************
  EDGXCI  MF=(E,RELPL,NOCHECK),OPERATION=ENDALL

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014