z/OS MVS Programming: Authorized Assembler Services Reference SET-WTO
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Obtain workload management mode status information (REQSRMST)

z/OS MVS Programming: Authorized Assembler Services Reference SET-WTO
SA23-1375-00

The REQSRMST SYSEVENT allows to obtain information about the state of workload management. It returns a parameter list that includes, for example:
  • Active service policy information
  • When and where the policy was activated
  • Active service definition information
  • When and where the service definition was installed
Note: The SRMSTCAP flag is provided to prospective callers of the REQLPDAT SYSEVENT, to test if that SYSEVENT is available on the system. On systems prior to z/OS® V1R3, callers should first invoke the REQSRMST SYSEVENT and check the SRMSTCAP flag before invoking the REQLPDAT SYSEVENT. See Obtain data for defined capacity (REQLPDAT) for more information.

Input register information

Register 1 must point to a parameter list. The parameter list must be non-pageable and addressable via the caller's primary address space. To map the parameter list, use the IRASRMST mapping macro described in z/OS MVS Data Areas in z/OS Internet Library at http://www.ibm.com/systems/z/os/zos/bkserv/. The SRMSTLEN field must be filled in with the length of this parameter list. The constant SRMSTSIZ can be used to set this length.

Return and reason codes

When processing is complete for the REQSRMST SYSEVENT, the last byte of register 15 contains one of the following hexadecimal return codes:

Table 1. Return Codes for REQSRMST
Return Code Meaning
00 Successful completion.
08 The parameter list is too small.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014