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

4- 73
[,entity-type-name3 ]
[,entity-type-name4 ]
[,entity-type-name5 ]
[,entity-type-name6 ]
[;R[ELATIONSHIP-]C[LASS] = relation-class-name ]
.
Parameters
entity-name(N) Name of the entity involved in the relationship to be deleted.
entity-type-name(N) Name of the entity type involved in the relationship type.
relation-class-name Name of the relationship class.
Description
The relationship cannot be deleted if it is in the common domain and is
linked to a local domain relationship.
Open Mode: Shared-update or exclusive-update
Scope: DA scope or the relationship's owner scope
Example
The following example deletes the five-way relationship of the image database company, image master
dataset division, image detail dataset employee, with the search item loc-code and sort item hire-date.
>DELETE RELATIONSHIP
>>employee,loc-code,hire-date,division,company;
>>RELATIONSHIP-TYPE = image-dataset,element,element,
>>image-dataset,image-database;
>>RELATIONSHIP-CLASS = chains.
>
DELETE RELATIONSHIP-CLASS
Deletes a relationship class.
Syntax
DEL[ETE] R[ELATIONSHIP-]C[LASS] relation-class-name
[;PURGE]
.
Parameters
relation-class-name Name of the relationship class to be deleted.