HP 3000 Manuals

CREATE ENTITY-TYPE [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation


HP SYSTEM DICTIONARY XL SDMAIN

CREATE ENTITY-TYPE 

Creates a new entity type.

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 name of the entity type to be created.  If
                      not specified, the internal name is the 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. 
     >


MPE/iX 5.0 Documentation