IVTSTATA maps the information required to monitor
the usage of CSM resources such as ECSA, data space and fixed storage.
The address of the information can be optionally returned to the
user on the IVTCSM REQUEST=CREATE_POOL and IVTCSM REQUEST=RESOURCE_STATS macroinstructions.
For each resource type, the following bits are defined:
- One to indicate the usage of the resource is constrained
- One to indicate the usage is critical
If neither bit is set, the usage of the resource is considered
normal. This allows CSM users to take action based on resource usage
to prevent critical shortages that might jeopardize the application's
or system's operation. Possible user actions might include selecting
a different storage source for buffer pools or limiting usage of fixed
storage. For information about other actions that an installation
can consider to resolve resource shortages, see
Monitoring CSM storage.
LOC SOURCE STATEMENT
000000 IVTSTATA DSECT CSM resource status area
000000 STATA_ACRO DS CL4 Eyecatcher 'STAT'
000004 STATA_LEN DS XL2 Number of bytes of resource
* statistics
000006 STATA_FLAG DS X Status flag
STATA_ESTAT EQU X'C0' ECSA storage status
STATA_ECRIT EQU X'80' ECSA storage critical
STATA_ECONS EQU X'40' ECSA storage constrained
*
STATA_DSTAT EQU X'30' Data space storage status
STATA_DCRIT EQU X'20' Data space storage
* critical
STATA_DCONS EQU X'10' Data space storage
* constrained
*
STATA_FSTAT EQU X'0C' Fixed storage status
STATA_FCRIT EQU X'08' Fixed storage critical
STATA_FCONS EQU X'04' Fixed storage constrained
000007 STATA_FLAG2 DS X Misc - Flags
STATA_MONITOR EQU X'80' CSM Monitor active