EMS FastStart Manual
EMS FastStart Manual–133701
7-1
7
Testing Program and Filter
EMS FastStart generates a Testing Program, xxxxPROG (where xxxx is the name of
your USER-SUBVOL-FILE-PREFIX), and an EMF filter (Using the Filter Program
with a Printing Distributor), xxxxEMFO, to help you test your customized EGEN
module before you bind EGEN with your application.
You can use the testing program and the filter to generate event messages similar to
those you want your application to generate. You can display the event messages using
Viewpoint or a printing distributor. The default filter can be used by Viewpoint or a
printing distributor to select only those events generated by the testing program. The
testing program can also be used to test other filters and templates as well as DSM
programmed applications prior to completing your application using EMS FastStart.
This section describes the five event types the testing program can generate, shows you a
sample run of the testing program generated from the ATM example, and describes the
use of the filter program with a printing distributor.
Testing Program
The EMS FastStart testing program, xxxxPROG, is written in COBOL85 and supports
a simple conversational interface which allows you to generate four types of “hard-
coded” events or a customized event type.
The four hard-coded event types are:
•
INFORMATIVE-EVENT
•
ACTION-ATTENTION-EVENT
•
ACTION-COMPLETION-EVENT
•
CRITICAL-EVENT
Each of these event types is supported by EGEN and has specific parameters which you
cannot change. (See Section 6, Building Your Application for Event Generation
, for
more information on event types.)
The fifth event type supported by EGEN is DATA-ENTRY-EVENT. This event type
allows you to enter the parameters of your customized EGEN procedure.
The DATA-ENTRY event type lets you select:
•
Owner of the event (SSID)
•
Type of the event
•
Value of the suppress display flag
•
Number of the event
•
Name of the subsystem manager
Note. The testing program (xxxxPROG) uses EGEN mode 2 as a default.