DDL Language Elements
Data Definition Language (DDL) Reference Manual — 426798-002
2- 13
DDL Compiler Commands
DDL Compiler Commands
The DDL compiler commands instruct the compiler to perform specific actions. DDL
compiler commands consist of one or more keywords; some commands also have one
or more parameters to further control the action of the command.
All DDL compiler commands must conform to these rules:
•
A command or sequence of commands can be either part of a DDL source schema
or a parameter in a DDL run command.
•
An input line that contains a command or sequence of commands must begin with
a question mark.
•
More than one command can be specified on an input line or in a DDL run
command. Multiple commands must be separated by commas; only the first
command on an input line is preceded by a question mark.
•
A command input line can contain only commands; it cannot contain comments or
statements.
•
If a command or sequence of commands continues on the next input line, the first
character in the next line must be a question mark.
•
A single command cannot end with a period or any other punctuation mark.
RECORD
Defines a record—the record structure and physical
characteristics of a disk file. The defined record can be
added to an open dictionary, compiled into FUP file
creation commands, or compiled into a DDL or host-
language source-code file.
5
,
6
SHOW USE
OF
Lists all the DDL objects in an open dictionary that directly
or indirectly refer to a specified object.
8
TOKEN-CODE
Defines an SPI token code identifying a simple token to be
used in an SPI message. The code can be added to an
open DDL dictionary or compiled into a C, COBOL, DDL,
Pascal, pTAL, TACL, or TAL source-code file.
7
TOKEN-MAP
Defines an SPI token map identifying a structured token to
be used in an SPI message. The map can be added to an
open DDL dictionary or compiled into a C, COBOL85,
DDL, Pascal, pTAL, TACL, or TAL source-code file.
7
TOKEN-TYPE
Defines an SPI token type that specifies the data type and
length of a token to be used in an SPI message. The token
type can be added to an open DDL dictionary; referred to
by TOKEN-CODE statements; or compiled into a C,
COBOL, DDL, Pascal, pTAL, TACL, or TAL source-code
file.
7
Table 2-2. DDL Statement Summary
Statement
Function
Section