ADD ENTITY-TYPE-ATTRIBUTE [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL SDMAIN
ADD ENTITY-TYPE-ATTRIBUTE
Adds attributes to an entity type's attribute list.
Syntax
A[DD] E[NTITY-]T[YPE-]A[TTRIBUTE] entity-type-name
;A[TTRIBUTE] = attribute-name1
[,attribute-name2]
.
.
.
[,attribute-nameN]
.
Parameters
entity-type-name Name of the entity type to which attributes are
added.
attribute-name(N) Name of the attribute to be added.
Description
All attributes and the entity type specified must already exist in the
dictionary.
You can specify any number of attributes, but the maximum number of
attributes associated with an entity type may not be more than 128. No
attribute may appear more than once in an entity type's attribute list.
If you specify more than one attribute, the operation continues until the
end of the attribute list, even if an error occurs with any previous
attribute.
Open Mode: Customization
Scope DA scope or any scope with extend capability
Example
The following example adds the attributes terminal-type and manufacturer
to the entity type terminal.
>ADD ENTITY-TYPE-ATTRIBUTE terminal;
>>ATTRIBUTE = terminal-type, manufacturer.
>
MPE/iX 5.0 Documentation