The resource callable service gets system-wide resource measurement data from the kernel address space.
Operation | Environment |
---|---|
Authorization: | Supervisor state or problem state, any PSW key |
Dispatchable unit mode: | Task |
Cross memory mode: | PASN = HASN |
AMODE (BPX1RMG): | 31-bit |
AMODE (BPX41RMG): | 64-bit |
ASC mode: | Primary mode |
Interrupt status: | Enabled for interrupts |
Locks: | Unlocked |
Control parameters: | All parameters must be addressable by the caller and in the primary address space. |
|
AMODE 64 callers use BPX4RMG with the same parameters.
The name of a fullword that contains the length of Data_area, which the resource service is to fill with resource measurement information.
The name of a field of length Data_area_length, which the resource service is to fill with resource measurement information. This field is mapped by the macro BPXYRMON. For the structure of Data_area, see BPXYRMON — Map resource monitor data.
The name of a fullword in which the resource service returns 0 if the request is successful, or -1 if it is not successful.
Return_code | Explanation |
---|---|
EINVAL | Incorrect argument. |
The name of a fullword in which the resource service stores the reason code. The resource service returns Reason_code only if Return_value is -1. Reason_code further qualifies the Return_code value. For the reason codes, see z/OS UNIX System Services Messages and Codes.
There are no restrictions on the use of the resource service.
For an example using this callable service, see BPX1RMG (resource) example.