ENABLE Reference Manual
ENABLE ATTRIBUTES
RECORD Attribute
RECORD Attribute
The RECORD attribute identifies the name of the record
description used for the box. ENABLE uses the record description
to determine the record, fields, and structure of the data base
file represented by a box. The syntax of the RECORD attribute
is:
-----------------------------------------------------------------
| |
| RECORD <external-record-name> |
| |
| <external-record-name> |
| |
| is the name of the record description. |
| <external-record-name> must be a record name found in the |
| dictionary specified by the value of the DICTIONARY |
| attribute. |
| |
| You must set a value for the RECORD attribute. |
| |
-----------------------------------------------------------------
Considerations
When you set RECORD to the name of a record description, ENABLE
does not verify that the record description exists until you
attempt to ADD the box to the object table.
To maintain compatiblility with previous versions of ENABLE,
when generating a single-file application the RECORD attribute
is the only attribute for which you must supply a value. You do
not need to add a box or set a value for the TREE attribute in
this case.
DDL Record-Description Limitations. Because ENABLE uses record
descriptions to generate SCREEN COBOL source code, the syntax of
the DDL RECORD statement must be compatible with SCREEN COBOL
representation capabilities. The limitations involved are
described in detail in Section 1, under "Dictionary Files."
4-45