Data Definition Language (DDL) Reference Manual

Definitions and Records
Data Definition Language (DDL) Reference Manual529431-004
5-16
Record Reference Syntax
A record structure must contain at least one field description. Every field description
must have a PICTURE or TYPE clause.
A record structure can contain one or more group descriptions. A group description
cannot have a PICTURE clause.
A TYPE clause for a field within a record structure can refer to a field or group
definition previously stored in a dictionary. When a field is defined by referring to a
group definition, it effectively becomes a group.
The size of a record structure is the total of the lengths of its member fields, plus any
FILLER fields generated by the DDL compiler.
Maximum record length:
Depends on file type:
Is limited further by these languages:
Record Reference Syntax
In the statement RECORD on page 5-8, record-reference specifies the data
structure of the record in terms of another, existing record and (optionally) identifies
primary and alternate keys.
def-name
is the name of an existing definition in the open dictionary.
File Type
Maximum Length
Format 1 Format 2
Unstructured 4096 bytes 4096 bytes
Entry-sequenced 4072 bytes 4048 bytes
Relative 4072 bytes 4048 bytes
Key-sequenced 4062 bytes 4040 bytes*
*
In H06.28/J06.17 RVUs with specific SPRs and later RVUs,
the supported maximum length for a format 2 key-sequenced
file is 27648 bytes.
For a list of the required H06.28/J06.17 SPRs, see SPR
Requirements for Increased Enscribe Limits for the
H06.28/J06.17 Release.
Language Maximum Record Length (Bytes)
FORTRAN 255
TACL 5,000
Pascal (on D-series systems) 32,766
DEF[INITION] IS def-name