HP DDL D40 Reference Manual page 72

Data definition language
Table of Contents

Advertisement

Definitions and Records
def-name-2
is the name of an existing definition in the open DDL dictionary.
{ PICTURE clause | TYPE clause}
declares the data type and size of a field. A PICTURE clause cannot describe a
group. A TYPE clause can refer to an existing definition in the open dictionary.
AS clause
specifies a default display string for a field of type ENUM. DDL uses this default
when the value of the field does not match any of the values specified by level 89
enumeration clauses in the field's definition or description. You can use an AS
clause to specify a default display string only for a field whose type is 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.
BEGIN
precedes any level 88 condition-name clauses and level 89 enumeration clauses in
a DEFINITION statement for a single field. BEGIN must precede the first period in
the definition. A DEFINITION statement that includes BEGIN must also include
END and at least one level 88 or level 89 clause.
DISPLAY clause
declares a default format for field or group values listed in an Enform report or
listed by Template Services.
EDIT-PIC clause
specifies a format for a field's data.
EXTERNAL clause
tells the DDL compiler to output the EXTERNAL clause in COBOL source files.
HEADING clause
specifies a column heading for field or group values listed in an Enform report or
on a screen generated by the Enable or Pathmaker products or by DSM Template
Services.
HELP clause
assigns help text to a group or field in a DEFINITION statement. Requesters
generated by the Pathmaker product use help text.
Data Definition Language (DDL) Reference Manual—426798-002
5 -6
Syntax Elements

Advertisement

Table of Contents
loading

Table of Contents