ViewPoint Manual

Customizing ViewPoint
ViewPoint Manual426801-001
6-35
Status Items
The server should return the ZVPT-STATUS-ITEM structure in response to
SCAN-ITEM commands. The values in ZVPT-STATUS-ITEM fields in the response
message become the default values for the fields. Some of the fields can be changed
from the Status Item Configuration screen. The CHECK-ITEM command allows the
server to check these changed values for consistency before they are added to the
configuration file. The fields of ZVPT-STATUS-ITEM are described in the following
paragraphs.
Z-ITEM-DESCRIPTION
This is the description provided on the screen when an item is being displayed. It
should be padded on the right with blanks. The server should provide a default
description. There is no need to check this value.
Z-ITEM-NAME
This field (consisting of the subfields Z-ITEM-TYPE and Z-OBJECT-NAME)
identifies the item. Z-ITEM-TYPE is the display type for the status item.
Z-OBJECT-NAME is optional; it is unnecessary for certain display types, such as
“average CPU busy.” When Z-OBJECT-NAME is not provided, it is blank. As a
part of the CHECK-ITEM command, the server should check Z-OBJECT-NAME to
see if it is a valid object for Z-ITEM-TYPE. Both values are padded on the right
with blanks.
Figure 6-10. Status-Server Structures
definition ZVPT-STATUS-VALUE type binary 64.
definition ZVPT-TIMESTAMP type binary 64.
definition ZVPT-BOOLEAN pic x.
definition ZVPT-ITEM-NAME.
02 Z-ITEM-TYPE pic x(30).
02 Z-OBJECT-NAME pic x(24).
end.
definition ZVPT-STATUS-ITEM.
02 Z-ITEM-DESCRIPTION pic x(36).
02 Z-ITEM-NAME type ZVPT-ITEM-NAME.
02 Z-VALUE-FOR-100 type ZVPT-STATUS-VALUE.
02 Z-USE-MAXIMUM type ZVPT-BOOLEAN.
02 Z-REVERSE-SIGNIFY type ZVPT-BOOLEAN.
02 Z-SCALE type binary 16.
02 Z-LOW-THRESHOLD type binary 16.
02 Z-HIGH-THRESHOLD type binary 16.
02 Z-LOW-ENABLED type ZVPT-BOOLEAN.
02 Z-HIGH-ENABLED type ZVPT-BOOLEAN.
02 Z-VALUE-TYPE pic xx.
88 Z-COUNTER-VALUE value is "CV".
88 Z-BUSY-TIMER value is "BT".
end.