SPI Common Extensions Manual

ZCMK Definitions
SPI Common Extensions Manual427508-001
B-29
ZCMK Maps
ZCMK-MAP-LISTOP
This map appears in LISTOPENS responses to report details about an opener of an
object.
One LISTOP map is returned for each opener of the queried process. When more than
one is returned in the LISTOPENS response, they are ordered such that tokens
describing all openers from the same process (as indicated by ZCMK-TKN-LISTOP-
XPNAME) occur together, but no order is implied between entries defining different
processes. This ordering lets your application combine and summarize the information
from one process when the distinction between multiple openers from the same
process is unimportant.
ZCMK-MAP-LISTOP is based on ZCMK-DDL-LISTOP:
ZNODE
specifies the number of the node on which the opener process is running.
ZBKUP-CPU
specifies the number of the backup CPU for the opener process. This field is
relevant only if ZBKUP-PIN is nonzero.
ZBKUP-PIN
specifies the process ID number of the backup process for the opener. If it is 0, no
backup exists.
ZBKUP-FNUM
is the file number used by the backup opener. This field is normally equal to the
ZPRIM-FNUM field. This field is relevant only if ZBKUP-PIN is nonzero.
ZPRIM-CPU
specifies the number of the CPU where the primary opener process resides.
ZPRIM-PIN
specifies the process ID number of the primary opener process.
def ZCMK-DDL-LISTOP.
02 ZNODE type ZSPI-DDL-INT2.
02 ZBKUP-CPU type ZSPI-DDL-INT.
02 ZBKUP-PIN type ZSPI-DDL-UINT.
02 ZBKUP-FNUM type ZSPI-DDL-INT.
02 ZPRIM-CPU type ZSPI-DDL-INT.
02 ZPRIM-PIN type ZSPI-DDL-UINT.
02 ZPRIM-FNUM type ZSPI-DDL-INT.
02 ZPROTO type ZSPI-DDL-ENUM.
end.