SNAX/APC Management Programming Manual
Statistics Extensible Structured Tokens
Common Definitions
4–48 111813 Tandem Computers Incorporated
Statistics Extensible
Structured Tokens
The extensible structured tokens specific to the RESETSTATS and STATISTICS
commands in SNAX/APC are described in this subsection.
ZAPC-MAP-STATS-LU
This extensible structured token is defined by the DDL DEF ZAPC-MAP-STATS-LU.
It contains statistical counters for the specified LU.
The programmatic commands that use ZAPC-MAP-STATS-LU are ZCOM-CMD-
RESETSTATS and ZCOM-CMD-STATISTICS. The valid object type for this extensible
structured token is LU.
The ZAPC-MAP-STATS-LU token is always returned in the ZCOM-CMD-
RESETSTATS and ZCOM-CMD-STATISTICS response buffers.
def ZAPC-DDL-STATS-LU.
02 ZRESET-TIME TYPE ZSPI-DDL-TIMESTAMP.
02 ZSAMPLE-TIME TYPE ZSPI-DDL-TIMESTAMP.
02 ZBIU-SENT-CNT TYPE ZSPI-DDL-INT2.
02 ZBIU-RCVD-CNT TYPE ZSPI-DDL-INT2.
02 ZDATA-SENT-CNT TYPE ZSPI-DDL-INT2.
02 ZDATA-RCVD-CNT TYPE ZSPI-DDL-INT2.
end.
ZRESET-TIME
specifies the date and time that the statistics counters were last reset by one of the
following events:
The statistics counters were reset by the RESETSTATS command (ZCOM-
CMD-RESETSTATS).
The process was initiated.
A takeover by the backup process occurred.
ZSAMPLE-TIME
is the date and time that the statistics were last sampled by a STATISTICS
command.
ZBIU-SENT-CNT
records how many basic information units have been sent.
ZBIU-RCVD-CNT
records how many basic information units have been received.