66 Renames Clause - HP DDL D40 Reference Manual

Data definition language
Table of Contents

Advertisement

Definition Attributes

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.
66 renames-name RENAMES { field-group | group-name }
[ { THROUGH | THRU } { field-name | group-name } ]
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:
employee.address.street
Data Definition Language (DDL) Reference Manual—426798-002
DDL qualification
VST616.vsd
6- 85
66 RENAMES Clause

Advertisement

Table of Contents
loading

Table of Contents