Subschema DDL User interface
188 U929-J-Z125-9-76
Copying a database key item
⎧DATABASE-KEY ⎫
level-number item-name USAGE IS ⎨ ⎬.
⎩DATABASE-KEY-LO NG⎭
In level-number, the user specifies if an item is to belong to a group item.
If the item is not to belong to a group item, the level number specified must be the lowest of
any record element in the record type. It may not be lower than 02.
If the item is already part of a repeating group in the schema, it must be defined as part of
the same group item in the subschema. To select the appropriate level number, proceed as
described on page 190.
If the item is to be included in a newly defined group item, proceed a s described on
page 191.
item-name is the name assigned to the database key item in the schema.
An item that is copied into the subschema with USAGE IS DATABASE-KEY-LONG must be
defined in the schema as a DATABASE-KEY-LONG ite m.