Definitions and Records
Data Definition Language (DDL) Reference Manual — 426798-002
5- 18
Record Structure Syntax
Record Structure Syntax
The following describes the syntax used to define a record structure. Detailed syntax
and guidelines for each of the individual clauses are given in
Section 6, Definition
Attributes
.
level-number {
field-name | group-name | FILLER }
specifies a field or group of fields within a record.
level-number
is a number from 02 to 49 assigned to a group or field to indicate its
relationship to other groups and fields within the record.
field-name
is a DDL name that identifies a field within a record. The name must be unique
within the record or, if part of a group, within the group.
line-item specification ...
[ 66 RENAMES clause . ] ...
line-item specification is:
level-number { field-name | group-name | FILLER }
{ PICTURE clause | TYPE clause }
[ AS clause ]
[ DISPLAY clause ]
[ EDIT-PIC clause ]
[ HEADING clause ]
[ HELP clause ]
[ JUSTIFIED clause ]
[ KEYTAG { key-specifier | constant-name }
[ DUPLICATES [ NOT ] ALLOWED ] ]
[ MUST BE clause ]
[ NULL clause ]
[ { OCCURS clause | OCCURS DEPENDING ON clause } ]
[ REDEFINES clause ]
[ SPI-NULL clause ]
[ [NOT] SQLNULLABLE clause ]
[ TACL clause ]
[ UPSHIFT clause ]
[ USAGE clause ]
[ VALUE clause ] .
[ 88 condition-name clause . ] ...
[ 89 enumeration clause . ] ...