DELETE RELATIONSHIP-TYPE [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL SDMAIN
DELETE RELATIONSHIP-TYPE
Deletes a relationship type.
Syntax
DEL[ETE] R[ELATIONSHIP-]T[YPE] 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]
.
Parameters
entity-type-name(N) Name of the entity type involved in the
relationship type to be deleted.
relation-class-name Name of the relationship class.
Description
When a relationship type is deleted, all relationships of that type are
also deleted.
Open Mode: Customization
Scope: DA scope or the relationship type's owner scope
WARNING When a version is in archival status, it is considered frozen,
protecting its data from modification. However, archival status
does not freeze the dictionary structure. Therefore, if the
dictionary structure is changed, the structure of archival
versions is also changed. In the case of additions to the
dictionary structure, no serious problems will result. However,
deletions from the dictionary structure may be detrimental to
archival versions. Therefore, this should be considered when
making deletions that affect dictionary structure.
Example
The following example deletes the relationship type project contains
program.
>DELETE RELATIONSHIP-TYPE project,program;
>>RELATIONSHIP-CLASS = contains.
>
MPE/iX 5.0 Documentation