EMS FastStart Manual
Testing Program and Filter
EMS FastStart Manual–133701
7-2
Testing Program Sample Session
•
Text of the event
•
Value for each field defined in the ACF
•
Field which will be the subject of this event.
Testing Program Sample Session 
A TACL macro file is created for you on the subvolume which contains the EMSFS 
testing program. This macro file adds the =_EMS_COLLECTOR and the 
=_EGEN_ADD_EVENT_TEXT DEFINES and then initializes them with default values 
($NO is the =_EGEN_ADD_EVENT_TEXT default value). (For more information 
about these defines please refer to Section 6, Building Your Application for Event 
Generation.) 
Example 7-1
 shows a sample session using the EMS FastStart testing program generated 
for the ATM example. The user input is shown in bold type. 
Note. In the following sample session based on the ATMACF example, the USER-SUBVOL-
FILE-PREFIX parameter was ATM1 so the TACL macro file is called ATM1TEST and the EMS 
FastStart testing program is called ATM1PROG.
Example 7-1. Testing Program Sample Session (page 1 of 2)
1> RUN ATM1TEST
Adding the =_EMS_COLLECTOR define.
 Define Name  =_EMS_COLLECTOR
 CLASS  MAP
 FILE   $0
Adding the =_EGEN_ADD_EVENT_TEXT define.
 Define Name  =_EGEN_ADD_EVENT_TEXT
 CLASS  MAP
 FILE   $YES
Starting $DATA.ATM.ATM1PROG
EMS Fast Start - T9263C20 - (17MAR91) - ATM1PROG
This program will prompt you for the type of Event Message
to generate
The following event message types are currently supported
 I- Informative Event
 AA- Action Attention Event
 AC- Action Completion Event
 C- Critical Event
 D- Data entry event. Enter necessary fields for testing.
 H- Help
 E- Exit Program
Enter the event message type to generate: I, AA, AC, C, D or H
>I
EGEN generated the event message successfully
>AA
EGEN generated the event message successfully
>AC
EGEN generated the event message successfully










