SPI Common Extensions Manual
ZCMK Definitions
SPI Common Extensions Manual—427508-001
B-30
ZCMK Maps
ZPRIM-FNUM
specifies the file number used by the primary opener process.
ZPROTO
identifies the protocol being used by the opener. The meaning of this value is
subsystem-specific.
ZCMK-MAP-STATS-BUF
This map is returned in STATISTICS and RESETSTATS responses to provide
statistical information describing the use of buffer memory by the process. In
responses to command messages, this structure appears only if the buffer pool is used
by the subsystem.
A RESETSTATS command resets only the ZFAIL, ZMAX, and ZRESET-TIME fields.
ZCMK-MAP-STATS-BUF is based on ZCMK-DDL-POOL-STATS:
ZCONFIG
records the total number of bytes assigned to the memory pool. This value is fixed
when the pool is originally allocated but can grow if the subsystem adjusts the
allocation in response to processing requirements.
ZCURR
records the total number of bytes currently allocated from the memory pool. Values
consistently near 50 percent of the total pool size indicate that the pool might be
overused.
ZMAX
records the maximum number of bytes allocated from the pool at any one time
since the most recent of:
def ZCMK-DDL-POOL-STATS.
02 ZCONFIG type ZSPI-DDL-INT2.
02 ZCURR type ZSPI-DDL-INT2.
02 ZMAX type ZSPI-DDL-INT2.
02 ZRESET-TIME type ZSPI-DDL-TIMESTAMP.
02 ZSAMPLE-TIME type ZSPI-DDL-TIMESTAMP.
02 ZFAIL type ZSPI-DDL-INT.
02 ZCURR-FRAG type ZSPI-DDL-INT.
02 ZMAX-FRAG type ZSPI-DDL-INT.
02 ZGROWTH-CNT type ZSPI-DDL-UINT.
02 ZGROWTH-TIME type ZSPI-DDL-TIMESTAMP.
02 ZVIRTUAL type ZSPI-DDL-INT2.
02 ZDATAPAGES type ZSPI-DDL-UINT.
02 ZEXTENSIBLE type ZSPI-DDL-BOOLEAN.
end.