Data Definition Language (DDL) Reference Manual

Definitions and Records
Data Definition Language (DDL) Reference Manual529431-004
5-9
RECORD
record-reference
specifies the data structure of the record in terms of another, existing record and
(optionally) identifies primary and alternate keys (see Record Reference Syntax on
page 5-16).
key-assignment
specifies one or more fields or groups of fields as Enscribe keys, assigns key
specifiers to key fields, and specifies that a file is to be sorted on a nonkey field or
group of fields (see Key Assignment Syntax on page 5-17).
You can omit key-assignment if the record has no key fields or if you declare
its key fields with the clause KEYTAG on page 6-12.
END [ . ]
ends the RECORD statement.
Topics:
File-Creation Syntax on page 5-10
Creation-Attribute Syntax on page 5-12
Record Reference Syntax on page 5-16
Record Structure Syntax on page 5-15
Key Assignment Syntax on page 5-17
Error Handling on page 5-18
Examples on page 5-19
Note. The DDL compiler ignores key-assignment when generating TACL source code
from a RECORD statement.