HP 3000 Manuals

REMOVE RELATIONSHIP-TYPE-ATTRIBUTE [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation


HP SYSTEM DICTIONARY XL SDMAIN

REMOVE RELATIONSHIP-TYPE-ATTRIBUTE 

Removes attributes from a relationship type's attribute list.

Syntax 

     REM[OVE] 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 from which attributes are
                      removed.

relation-class-name   Name of the relationship class.

attribute-name(N)     Name of the attribute to be removed.

Description 

You can specify any number of attributes.  No attribute may appear more
than once.  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.

You cannot remove any relationship type attribute pairs owned by the core
set.  Remember that the six "automatic" pairs for each relationship type
(links to attributes scope-owner, date-created, date-changed,
scope-changed, sensitivity, and relationship-position) are always owned
by the core set.

Open Mode:       Customization

Scope:           DA scope or the relationship type attribute pair's owner
                 scope

Example 

The following example removes the attribute size from the relationship
type program contains module.

     >REMOVE RELATIONSHIP-TYPE-ATTRIBUTE program, module; 
     >>RELATIONSHIP-CLASS = contains; 
     >>ATTRIBUTE = size. 
     >


MPE/iX 5.0 Documentation