AM3270 Management Programming Manual
 ELEMENTS OF SPI MESSAGES FOR THE SUBSYSTEMS
 Event Numbers
 Event Numbers
 Event numbers identify event messages issued by the AM3270
 subsystem and most event numbers correspond to the numbers that
 identify console messages which are described in the manual
Operator Messages: Console Format
. Each event message that can
 be reported by the AM3270 subsystem has a different event number
 assigned to it. The AM3270 event numbers and their associated
 event messages are described in Section 7, "Event Management."
 An event number is part of the header of an event message.
 The header token named ZEMS-TKN-EVENTNUMBER contains the event
 number. The value of the event number is subsystem-specific and
 also has a symbolic name. Because event numbers represent unique
 events for a particular subsystem, you must know both the event
 number and the three-character abbreviation of the subsystem that
 created the event. The symbolic name of event numbers are of
 the form Z
subsys
-EVT-
event
, where 
subsys
 is a three-character
 abbreviation for the subsystem and 
event
 identifies the event.
 The AM3270 subsystem is represented by the abbreviation AM3.
 Subjects of Event Messages
 The subject of an event message is always preceded by the ZEMS-
 TKN-SUBJECT-MARK token and is made up of two parts: the logical
 device name and the logical device number of the subsystem
 process reporting the event. The logical device name is a
 32-byte file name in the internal format, which includes the name
 of the system node. The ZEMS-TKN-LDEVNAME token contains the
 logical device name. The logical device number is an unsigned
 integer and is contained by the ZEMS-TKN-LDEV token.
 The application obtains the subject of an event message by
 passing the ZEMS-TKN-SUBJECT token to the EMSGET procedure.
 Refer to the 
Event Management Service (EMS) Manual
 for details on
 obtaining subjects of event messages.
 3-7










