EMS Manual

Standard Event Sample Files
EMS Manual426909-005
C-31
EMS Templates Sample File
================================================================
== if you have defined your private enumerations to a token from
== another subsystem, assign them here (see above)
== (none in this example)
================================================================
== Templates for subsystem standard events ==
================================================================
== The following two Object Unavailable events with these
== event numbers are customized to display the private tokens
== in the events:
==
== ZSAM-EVT-tp-disconnected
== ZSAM-EVT-netx25-down
==
== The Templates below are modified from the standard Object
== Unavailable Template. The same format as the standard
== Template is used so that a consistent and uniform display
== is presented to the operator. Statement marked "changed"
== indicates that statement is modified from the standard
== Template; statement marked "added" indicates that statement
== is added to the standard Template.
==
== Note that the standard Template is defined by the standard
== type token "ZEMS-TKN-CONTENT-STANDARD". When you customize
== one of these Templates, you must use "ZEMS-TKN-
== EVENTNUMBER." The EMSTEXT program will use your event
== number Template to display your event, if one is specified,
== before using the standard Template provided by EMS.
MSG: ZEMS-TKN-EVENTNUMBER, ZSAM-EVT-tp-disconnected == changed
"Object unavailable <31><32> - <31><33>"
", event number: <1>"
", cause: <2>"
"<*IF 24>, underlying object: <14><*ENDIF>"
"<*IF 21>, manager: <11><*ENDIF>"
"<*IF 22>, batch ID: <12><*ENDIF>"
"<*IF 23>, user content: <13><*ENDIF>"
", diagnostic: <3>" == added
1:ZEMS-TKN-EVENTNUMBER, ENUM
2:ZEMS-TKN-FAILURE-CAUSE, ENUM
3:ZSAM-TKN-tp-diagcode, ENUM == added
11:ZEMS-TKN-NAME-MANAGER
12:ZEMS-TKN-BATCHJOB-ID
13:ZEMS-TKN-CONTENT-USER, ENUM
14:ZEMS-TKN-UNDERLYING-OBJ-NAME
21:TOKENPRESENT(ZEMS-TKN-NAME-MANAGER)
22:TOKENPRESENT(ZEMS-TKN-BATCHJOB-ID)
23:TOKENPRESENT(ZEMS-TKN-CONTENT-USER)
24:TOKENPRESENT(ZEMS-TKN-UNDERLYING-OBJ-NAME)
31:ZEMS-TKN-SUBJECT-MARK
32:ZSPI-TKN-NEXTTOKEN, TOKENHEADING