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


Using the IWMRQRY Service

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

Using the IWMRQRY Service

The IWMRQRY service provides sampled data on address spaces including:

  • Address space state samples
  • Server information

    To see when an address space is serving more than one service class, information is provided for server address spaces in the general execution delay portion of the IWMWRCAA. This information includes:

    • The service classes being served by an address space.
    • The number of samples of address spaces serving a particular service class. For example, address space ACSFOR1 is seen serving service class CICSSLOW 60 times, and service class CICSFAST 40 times.

The data returned is mapped by the IWMWRQAA data area. It represents the data collected during one sampling interval, an instantaneous, non-cumulative snapshot of the address space. The data is not tied to a particular job. Products using IWMRQRY must decide whether to accumulate this latest state data with prior samples.

An asynchronous ENF signal is issued whenever a new copy of IWMWRQAA information is available. The performance monitor can use the ENF signal to determine when to issue IWMRQRY.

Table 20 shows a sample sequence of what to do to get address space information using IWMRQRY.

Table 20. Using IWMRQRY with the workload reporting services
ActionReason
Issue IWMRQRY macroTo obtain answer area length
Issue GETMAINTo get storage to hold the address space data
Issue IWMRQRYTo obtain address space data mapped by IWMWRQAA
Set up a reporting intervalTo collect data from issuing IWMRQRY multiple times
Issue IWMRQRY INFO=ASID,ASCB=ascbThe performance monitor recognizes an exception for the address space represented by the specified ASCB. To obtain specific data about the ascb address space.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014