EMS Manual
Distributor Commands and Responses
EMS Manual—426909-005
17-39
STATUS Command (ZCOM-CMD-STATUS)
ZDIST-CUR-RECORD-ADDRESS (int2 field)
is the record address, an entry-sequenced file address within the current log
file (in ZDIST-CUR-LOGNAME), of the event message last examined by the
distributor.
Assume that blknum is the block number (numbering from zero), blklen is
the block length (in bytes), and recnum is the record number (within the block).
Then record-address is computed as:
( blknum * blklen ) + recnum
With a block length of 4096 bytes—the block length of all log files—the number
4098 addresses the second record in the second block.
ZDIST-EVENT-PASS (int2 field)
is the number of event messages that have passed the filters for this collector
since the last filter load.
ZDIST-EVENT-TOTAL (int2 field)
is the total number of event messages processed from this collector since the
last filter load.
ZDIST-LOGSTOPPED (Boolean field)
is ZSPI-VAL-TRUE if this source collector has stopped logging, but it is
normally ZSPI-VAL-FALSE.
ZEMS-MAP-STATUS-TEXTOUT
is an extensible structured token that gives information about the TEXTOUT
destinations of a printing distributor (DEF: ZEMS-DDL-STATUS-TEXTOUT). The
fields are defined as:
ZDIST-TEXTOUT-NAME (fname field)
is the name of this TEXTOUT destination.
ZDIST-TEXTOUT-TYPE (fname field)
is the device type of this TEXTOUT destination. Obtained from DEVICEINFO,
it can have these values:
0 PROCESS
1 CONSOLE
2 not used
3 DISKFILE
4 TAPE
5 PRINTER
6 TERMINAL
or any other device type number