NET/MASTER Management Services (MS) System Management Guide

Customizing the Event Detail Database
Managing Event Messages
115414 NonStop NET/MASTER MS System Management Guide 8–13
Creating an EVENTCX File
To create an EVENTCX file, follow the instructions listed below:
1. Create a Data Definition Language (DDL) file with the code shown in the next
example. The example DDL describes the records for the EVENTCX file.
definition ZVPT-EVENT-SSID.
03 Z-OWNER type character 8.
03 Z-NUMBER type binary 16.
end
record ZVPT-EVENT-DETAIL.
file is “EVENTCX” key-sequenced.
* field identifying the event
02 Z-EVENT.
03 Z-EVENT-SSID type ZVPT-EVENT-SSID.
03 Z-EVENT-NUMBER type binary 16.
* fields providing 6 lines of probable cause text
02 Z-PROBABLE-CAUSE.
03 Z-LINE pic x(77) occurs 6 times.
* fields providing 6 lines of recommended action text
02 Z-RECOMMENDED-ACTION.
03 Z-LINE pic x(77) occurs 6 times.
key is Z-EVENT.
end
Refer to the Distributed Systems Management (DSM) Programming Manual for a more
thorough description of the fields within the subsystem ID, but note that the
version number is not included in the SUBSYSTEM-ID definition record in the
customized event detail database. For Tandem subsystems, event numbers are
compatible from release to release; subsystems that you write should also follow
this convention.
2. Create an ENABLE application to generate event detail database records by
following these steps:
a. Compile the DDL you write in Step 1 and create a File Utility Program (FUP)
command file by issuing the following command:
DDL /IN DDLSRC/ DICT, FUP FUPSRC !
b. Execute the FUP file-creation statements in FUPSRC by issuing the following
command:
FUP /IN FUPSRC/