EMS FastStart Manual
DDL, Copy Libraries and Templates Example
EMS FastStart Manual–133701
D-2
ATM Example, EVENT DEFINITION SOURCE FILE:
SATMDDL
* File Description: This DDL source schema file is an example of DDL
* definitions which are used by the ATM example provided with EMS
* FastStart. These definitions will ease the documentation and the
* maintenance of an EGEN based application.
*
*----------------------------------------------------------------------
?SETSECTION Atm-event-numbers
*----------------------------------------------------------------------
*
* Each event message generated by an application will be identified
* by a unique number called the event message number. This section
* presents an example of a typical implementation.
*
* Event Numbers Usage Description
*
* 0 - 99 Informative Events
* 100 - 199 Action Events
* 200 - 499 Critical Events
* 500 - 999 Reserved for future enhancement
*
*----------------------------------------------------------------------
*----------------------------------------------------------------------
*
* INFORMATIVE EVENTS DESCRIPTION:
*
* These event message numbers describe the current set of INFORMATIVE
* EVENTS supported by this application. For each event generated by a
* Atm application, the programmer should select one of the following
* event message numbers and move it into the EVENT-NUMBER field of
* EGEN-RECORD.
*
*----------------------------------------------------------------------
CONSTANT Atm-evt-up VALUE IS 1.
CONSTANT Atm-evt-acct-insuf-funds VALUE IS 2.
CONSTANT Atm-evt-back-online VALUE IS 3.
*----------------------------------------------------------------------
*
* ACTION EVENTS DESCRIPTION:
*
* These event message numbers describe the current set of ACTION
* EVENTS supported by this application. For each event generated by a
* Atm application, the programmer should select one of the following
* event message numbers and move it into the EVENT-NUMBER field of
* EGEN-RECORD.
*
*----------------------------------------------------------------------
CONSTANT Atm-evt-low-on-cash VALUE IS 100.
*----------------------------------------------------------------------
*
* CRITICAL EVENTS DESCRIPTION:
*
* These event message numbers describe the current set of CRITICAL
* EVENTS supported by this application. For each event generated by a
* Atm application, the programmer should select one of the following
* event message numbers and move it into the EVENT-NUMBER field of
* EGEN-RECORD.
*
*----------------------------------------------------------------------
CONSTANT Atm-evt-down VALUE IS 200.