Previous Topic: Records That OPSCPF ReturnsNext Topic: Records That OPSCPU Returns


OPSCPU Function

The OPSCPU function returns information about the processors. You can use OPSCPU:

Note: This function returns data similar to the array of processor data that the z/OS DISPLAY M=CPU command returns. However, you can use the OPSCPU function synchronously in rules or OPS/REXX programs without waiting for a response.

OPSCPU has the followings format:

var = OPSCPU(func)
func

Defines the type of call you want the OPSCPU function to make. The only valid function call is I, which stands for inquiry. Always specify the func argument. This argument is not case-sensitive.