Previous Topic: Records That OPSCPF Returns

Next Topic: Records That OPSCPU Returns

OPSCPU Function

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

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

This function has the followings format:

var = OPSCPU(func)
func

Defines the type of call you want the OPSCPU function to make. Currently, the only valid function call is I, for inquiry. You must always specify the func argument. This argument is not case sensitive.