HP 3000 Manuals

DELETE RELATIONSHIP [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation


HP SYSTEM DICTIONARY XL SDMAIN

DELETE RELATIONSHIP 

Deletes a relationship.

Syntax 

     DEL[ETE] R[ELATIONSHIP]  entity-name1 
                             ,entity-name2 
                            [,entity-name3]
                            [,entity-name4]
                            [,entity-name5]
                            [,entity-name6]
             ;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-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. 
     >


MPE/iX 5.0 Documentation