Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 85
66 RENAMES Clause
66 RENAMES Clause
The level 66 RENAMES clause renames a previously defined field or group or
combination of fields and groups.
For C, DDL translates a field with a RENAMES clause into a comment.
DDL ignores the RENAMES clause when generating FORTRAN, TACL, or
Pascal source code.
renames-name
is a unique name assigned as a new name to the field or group or combination of
fields and groups that it renames. A
renames-name
is a DDL name.
field-name
identifies a previously defined field in the dictionary. If
field-name
is not unique,
it can be qualified by
group-name
and
def-name
. A
field-name
is a DDL
name.
group-name
is the name of a previously defined group in the dictionary. If
group-name
is not
unique, it can be qualified by
group-name
and
def-name
. A
group-name
is a
DDL name.
RENAMES Clause Guidelines
The following points are guidelines for using the RENAMES clause:
•
A RENAMES clause has its own level number (66).
•
A RENAMES clause does not redescribe the characteristics of the field or group it
renames; thus, no other clauses can be used with RENAMES.
•
If field and group names need to be qualified to make them unique, use the DDL
(not COBOL) rules for qualifying names. For instance, to refer to the field STREET
in the group ADDRESS in the definition EMPLOYEE, use:
66 renames-name RENAMES { field-group | group-name }
[ { THROUGH | THRU } { field-name | group-name } ]
employee.address.street
DDL qualification
VST616.vsd