Subsystem Control Point (SCP) Management Programming Manual

Common Definitions
Subsystem Control Point (SCP) Management Programming Manual520619-001
4-19
ZSCP Maps
process. New SCP processes do not keep a count of queued requests and return a
zero in this field.
ZSCP-MAP-STATUS-PROC
SCP processes include this structure in STATUS command responses to describe the
current status of the process. ZSCP-MAP-STATUS-PROC is based on ZSCP-DDL-
STATUS-PROC, which is defined as:
ZSUMSTATE
contains the summary state of the SCP process.
ZPRIM-PID
contains the cpu,pin of the SCP primary process.
ZBKUP-PID
contains the cpu,pin of the SCP backup process. If there is no backup process, the
value is 0.
ZMEM-FREE-BLOCK
contains the number of free blocks in the memory pool.
ZMEM-USED
contains the number of bytes used in the memory pool.
ZMEM-FREE
contains the number of available bytes in the memory pool.
ZACB-CNT
contains the number of applications that are openers of the SCP process.
def ZSCP-DDL-STATUS-PROC.
02 ZSUMSTATE type ZSPI-DDL-ENUM.
02 ZPRIM-PID type ZSPI-DDL-INT.
02 ZBKUP-PID type ZSPI-DDL-INT.
02 ZMEM-FREE-BLOCK type ZSPI-DDL-INT.
02 ZMEM-USED type ZSPI-DDL-INT2.
02 ZMEM-FREE type ZSPI-DDL-INT2.
02 ZACB-CNT type ZSPI-DDL-INT.
02 ZSCB-CNT type ZSPI-DDL-INT.
02 ZRCB-CNT type ZSPI-DDL-INT.
02 ZRCB-QUEUED type ZSPI-DDL-INT.
02 ZRCB-TOTAL-CNT type ZSPI-DDL-INT2.
02 ZTRACE-FNAME type ZSPI-DDL-FNAME32.
end.