Ddl Statements; Table 2-2. Ddl Statement Summary - HP DDL D40 Reference Manual

Data definition language
Table of Contents

Advertisement

DDL Language Elements

DDL Statements

DDL statements define, modify, delete, and display DDL objects. DDL statements must
conform to the following rules of form:
Every simple statement except EXIT must end with a period.
Every compound statement must end with END, optionally followed by a period.
These are compound statements:
Field DEFINITION statements that include BEGIN
Group DEFINITION statements
RECORD statements
TOKEN-MAP statements
An input line can include more than one statement.
Statements can continue on succeeding input lines without any continuation
character.
Table 2-2
summarizes the functions of DDL statements, in alphabetic order, and
indicates the sections in this manual that describe the statements.

Table 2-2. DDL Statement Summary

Statement
CONSTANT
DEFINITION
DELETE
EXIT
OUTPUT
OUTPUT
UPDATE
Data Definition Language (DDL) Reference Manual—426798-002
Function
Defines a constant and its attributes, including name, type,
and value. The constant can be referred to in other DDL
statements, added to an open dictionary, and compiled into
a C, COBOL, DDL, Pascal, pTAL, TACL, or TAL source-
code file.
Defines a definition—an elementary or group data
structure. The definition can be added to an open
dictionary; referred to for defining other data structures,
record structures, token types, or token maps; and
compiled into a DDL or host-language source-code file.
Deletes specified DDL objects from the currently open
dictionary.
Ends an interactive DDL session.
Reads DDL object definitions from an open dictionary and
writes them to any open DDL, FUP, REPORT, or host-
language source-code file.
Produces DDL source code to delete or update every DDL
object that is referred to by another DDL object and write
the code to an open DDL source file for subsequent
compilation.
2- 12
DDL Statements
Section
4
5,
6
8
8
8
8

Advertisement

Table of Contents
loading

Table of Contents