ViewPoint Manual

Customizing ViewPoint
ViewPoint Manual426801-001
6-11
Adding Advisory Text for Events
Adding Advisory Text for Events
The Event Detail screen provides detailed information about a selected event message,
including the probable cause of the event and the action recommended to solve the
problem. This screen first displays identifying information about the event message,
including the date and time the event was reported, the name of the process that reported
the event, the subsystem ID of the reporting subsystem, the event number, and the text
token if present.
The event information is followed by advisory text if entries exist for that event in the
event-detail database. The advisory text is displayed under the headings “Cause,
“Effect,and “Recovery.” This event-detail database consists of an EMS template file
(EVENTTD) and a key-sequenced file (EVENTCX).
The EMS template file, EVENTTD, is installed in the ViewPoint program subvolume.
It contains entries supplied by Compaq and can contain user-supplied entries. The file
also allows for multiple-page text for events.
If you want to write customized text for the EVENTTD file, you must write a DDL
dictionary for the template compiler and write EMS templates with cause, effect, and
recovery.
Example 6-2 shows one way to write a DDL dictionary and Example 6-3 shows an
example of an EMS template. For more information about writing customized text for
the EVENTTD file, refer to the DSM Template Services Manual.
Caution. Any customized text that you create for the EVENTTD file is overwritten by special
releases. If there is an interim release, be sure to save a copy of your customized text.
Example 6-2. DDL Dictionary for EVENTTD
? source zspiddl
? source zvptddl (zvpt-tkn-cause, zvpt-tkn-effect,
? zvpt-tkn-action)
definition zpwy-val-ssid tacl ssid.
02 z-filler type character 8 value is zspi-val-tandem
02 z-owner redefines z-filler type zspi-ddl-char8.
02 z-number type zspi-ddl-int. value is zspi-ssn-zpwy
02 z-version type zspi-ddl-uint.
end