The OPSSRM function returns information about the z/OS System Resource Manager (SRM). The option value specifies the type of request. For now, only the option I (for Information) is supported.
Note: The OPSSRM function can be used in OPS/REXX or AOF rules.
This function has the following format:
var = OPSSRM(option,string)
Specifies the information to be returned.
Valid values for string are:
Returns the current average length of the auxiliary storage manager queue (ASMQ) as seen by the SRM. The lower the value, the better the system performs.
Returns the current number of storage frames on the available frame queue. The higher the value, the better the system performs. This value is only valid for z/OS 1.7 and higher. Older z/OS versions return a value of zero.
Returns the long-term CPU busy value from the SRM control table.
Returns the number of logically swapped TSO users.
Returns the number of logically swapped non-TSO users.
Returns the current average paging rate of the system as seen by the SRM.
Returns the current page delay time of the paging subsystem, in milliseconds, as seen by the SRM. The lower the value, the better the system performs.
Returns the system Think Time in seconds.
Returns the current average unreferenced interval count (UIC) of the system as seen by the SRM. The values vary between 0 and 2540. Use the UICCUR value instead of this one on z/OS 1.8 and higher systems.
Returns the current UIC used for SRM internal management. The values vary between 0 and 65535. A UICCUR value of 65535 means that there are enough frames on the available frame queue in the system. This value is only valid for z/OS 1.8 and higher. Older z/OS versions return a value of zero.
Returns the lowest UIC found on the last "walk" through the whole of storage. The values vary between 0 and 65535. This value is only valid for z/OS 1.8 and higher. Older z/OS versions return a value of zero.
Returns the highest UIC found on the last "walk" through the whole of storage. The values vary between 0 and 65535. This value is only valid for z/OS 1.8 and higher. Older z/OS versions return a value of zero.
Returns the utilization of the zIIP processors. This is equivalent to the value returned by CPU, but for the zIIP processors.
Example: Use the OPSSRM function
This example uses OPSSRM to determine how much load is being placed on real storage.
if OPSSRM("I"," CurUIC ") < 10 then
say "There is significant demand for real storage!"
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|