HP System Dictionary/XL SDMAIN Reference Manual (32256-90001)

4-58
Syntax
C[REATE] E[NTITY-]T[YPE] entity-type-name
[;INT[ERNAL] = internal-name ]
.
Parameters
entity-type-name External name of the entity type to be created.
internal-name Internal nameof the entitytype tobecreated. Ifnot specified, theinternal name isthe
same as the entity-type-name.
Description
Every entity type has the following attributes associated with it after it is created:
scope-owner scope-changed
date-created sensitivity
date-changed id-number
These attributes, called special attributes, are associated by default and you can never delete them from
the entity type's attribute list.
To avoid possible name conflicts with any future extensions to the core set, do not create any entity types
with a name starting with the characters "HP" .
Open Mode: Customization
Scope: DA scope or any scope with extend capability. The scope with which the dictionary is
open is the owner of the entity type.
Example
The following example creates the new entity type terminal.
>CREATE ENTITY-TYPE terminal.
>
CREATE RELATIONSHIP
Creates a new relationship.
Syntax
C[REATE] R[ELATIONSHIP] entity-name1
,entity-name2
[,entity-name3 ]
[,entity-name4 ]
[,entity-name5 ]
[,entity-name6 ]
;R[ELATIONSHIP-]T[YPE] = entity-type-name1