ADD RELATIONSHIP-TYPE-ATTRIBUTE [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL SDMAIN
ADD RELATIONSHIP-TYPE-ATTRIBUTE
Adds attributes to a relationship type's attribute list.
Syntax
A[DD] R[ELATIONSHIP-]T[YPE-]A[TTRIBUTE] entity-type-name1
,entity-type-name2
[,entity-type-name3]
[,entity-type-name4]
[,entity-type-name5]
[,entity-type-name6]
[;R[ELATIONSHIP-]C[LASS] = relation-class-name]
;A[TTRIBUTE] = attribute-name1
[,attribute-name2]
.
.
.
[,attribute-nameN]
.
Parameters
entity-type-name(N) Name of the entity type involved in the
relationship type to which attributes are added.
relation-class-name Name of the relationship class.
attribute-name(N) Name of the attribute to be added.
Description
All attributes and the relationship type you specify must already exist
in the dictionary.
You can specify any number of attributes, but the maximum number of
attributes associated with a relationship type may not be more than 128.
No attribute may appear more than once in a relationship 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 size and functionality to the
relationship type program contains module.
>ADD RELATIONSHIP-TYPE-ATTRIBUTE program, module;
>>RELATIONSHIP-CLASS = contains;
>>ATTRIBUTE = size, functionality.
>
MPE/iX 5.0 Documentation