EMS Manual

Generating Standard Events
EMS Manual426909-005
10-22
Task 8. Create and Build Your DDL Definitions
Task 8. Create and Build Your DDL Definitions
Create a DDL file for the DDL definitions for your events. Each subtask corresponds to
a section of the same name in the sample file from which you create your definitions.
Name the language output files:
ssC for C
ssCOB for COBOL
ssPAS for PASCAL(*)
ssTACL for TACL
ssTAL for TAL
(*) optional language output
You must provide two types of clauses when creating and building your DDL
Definitions file:
An 89 enumeration clause associates a name with a specified or default
enumeration value and optionally specifies a display string for the value.
An AS clause specifies a display string for a value in a level 89 enumeration clause
or, at the definition level, specifies a default display string for a field of type ENUM.
When an AS clause is part of a level 89 clause, AS specifies the display string for a
field that has the value associated with that level 89 item.
For more information about the 89 enumeration clause and the AS clause, see the
Data Definition Language (DDL) Reference Manual.
Task 8.1: Prepare the DDL Definitions File Template
1. In the NonStop Technical Library, copy and paste the text in DDL Definitions
Sample File on page C-20 into a .txt file in any text editor.
2. Transfer the .txt file to your subvolume.
3. Rename the .txt file in your subvolume to ssssDDL (for example, ZSAMDDL),
where ssss is the subsystem acronym.
Task 8.2: Specify Subsystem Product Information
Specify the name, number, version, and release date of your product. Change this
section whenever you change the version or release date of your product.
Task 8.3: Define Your Subsystem ID (SSID)
Define your SSID as specified in the Subsystem Definition Table of your ES. The
version field of your SSID should reflect the release identifier of your subsystem. The
field is a 16-bit unsigned integer and must increase in value from one release to the
next.
The syntax and semantics of the SSID version field are defined by each company.