z/OS MVS Programming: Workload Management Services
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Example

z/OS MVS Programming: Workload Management Services
SC34-2663-00

Example

To register a resource for delay monitoring, specify the following:

         IWM4MREG RESOURCE_NAME=RSCNAME,                     X
               RESOURCE_TYPE=BUFFER_POOL,                    X
               RES_ADJ_SIZE=RESADJSIZE,                      X
               RES_MIN_SIZE=RESMINSIZE,                      X
               RES_MAX_SIZE=RESMAXSIZE,                      X
               RES_ADJ_EXIT@=ADJEXIT@,                       X
               RES_DATA_EXIT@=DATAEXIT@,                     X
               OWNER_TKN=OWNERTKN,                           X
               RESOURCE_TKN=RSCTOKEN,RETCODE=RC,RSNCODE=RSN
*
* Storage areas
*
RSCNAME  DS    CL16            Contains the resource name
RESADJSIZE DS  FL4             contains the minimum size by
*                              which the specified resource
*                              can be adjusted
RESMINSIZE DS  FL4             contains the minimum size
*                              associated with the specified
*                              resource
RESMAXSIZE DS  FL4             contains the maximum size
*                              associated with the specified
*                              resource
ADJEXIT@   DS  AL4             contains the address of the
*                              Resource Adjustment Exit to be
*                              invoked when the system wishes
*                              to rebalance resource usage
DATAEXIT@  DS  AL4             contains the address of the
*                              Resource Data Collection Exit
*                              to be invoked when the system
*                              wishes to understand how
*                              physical resources relate to
*                              effectiveness of the given
*                              resource
OWNERTKN DS    CL8             Contains data maintained by
*                              the user
RSCTOKEN DS    CL8             WLM resource token
RC       DS    F               Return code
RSN      DS    F               Reason code

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014