EMS FastStart Manual

Brief Review of Event Design
EMS FastStart Manual133701
2-6
Step 5: Assign Field Name, Type, and
Number to Variables
Step 5: Assign Field Name, Type, and Number to Variables
This step is the beginning of defining the variable data fields for your application. Each
variable data field has three components:
FIELD-x-NAME
FIELD-x-TYPE
FIELD-x-NUMBER
Note that the number between the hyphens (for example, x in the example above) is the
group field number. This number is associated with all three components that
make up a field in the ACF. Each group of three components shares a group field
number. This group field number is distinct from the field NUMBER and the event
number. (See Step 6: Assign Event Numbers
for information on event numbers and Step
9: Build Template File for information on group field numbers.)
Assign a Field Name for Each Variable
Give each field a unique name that identifies the type of information passed in the event
buffer. The field name must be COBOL85 compatible and is limited to 20 alphanumeric
characters and hyphens. Below is an example of a field name (bold type):
Assign a Field Type for Each Variable
Each variable data field has a DDL type defined as ZSPI-DDL-xxxx, where xxxx is
the data type you define to suit the needs of your application. Below is an example of a
field type (bold type):
FIELD-7-NAME ATM-SENSE-STATUS
FIELD-7-TYPE ZSPI-DDL-INT2
FIELD-7-NUMBER 700
FIELD-7-NAME ATM-SENSE-STATUS
FIELD-7-TYPE ZSPI-DDL-INT2
FIELD-7-NUMBER 700