DDL Language Elements
Data Definition Language (DDL) Reference Manual — 426798-002
2 -6
DDL Keywords and Reserved Words
If the string contains quotation marks, you must enter each quotation mark twice to
distinguish the quotation mark character from the string delimiter. You can use either
single or double quotation marks as string delimiters. Examples of DDL strings follow:
"C00"
"12.650"
"Enter a 2-character state code."
"M<(999) 999-9999>"
"Use quotes "" "" before and after the name."
'Use quotes '' '' to delimit a string.'
'alpha-string'
DDL Keywords and Reserved Words
DDL keywords are words with a specific meaning to DDL. DDL reserved words are a
subset of the keywords and must not be used as data names in DDL statements.
DDL Keywords
A keyword has a specific syntactical meaning when placed at a keyword position within
a statement. Keywords must be spelled exactly as shown in this manual.
To distinguish keywords from variable names in this manual, keywords are always
capitalized in the formal syntax descriptions. When you specify keywords in DDL input,
however, you do not need to capitalize them; they are not case sensitive.
DDL keywords cannot be defined as constant names.
These are the DDL keywords:
ALL
ALLOWED
ARE
AS
ASCENDING
ASSIGNED
AUDIT
AUDITCOMPRESS
BE
BEGIN
BINARY
BIT
BLOCK
BUFFERED
BUFFERSIZE
BY
CFIELDALIGN_MATCHED2
CHARACTER
C_MATCH_HISTORIC_TAL
CODE
COMP
COMP-3
COMPLEX
COMPRESS
COMPUTATIONAL
COMPUTATIONAL-3
CONSTANT
CRTPID
CURRENT
DATE
DATETIME
DAY
DCOMPRESS
DEF
DEFINITION
DELETE
DEPENDING
DESCENDING
DEVICE
DISPLAY
DUPLICATES
EDIT-PIC
END
ENTRY-SEQUENCED ENUM
EXIT
EXT
EXTERNAL
FILE
FIELDALIGN_SHARED8
FILLER
FLOAT
FNAME
FNAME32
FOR
FRACTION