HP 3000 Manuals

SDDeleteAttrRelType [ HP System Dictionary XL Intrinsics ] MPE/iX 5.0 Documentation


HP System Dictionary XL Intrinsics

SDDeleteAttrRelType 

Deletes an attribute from a relationship type's attribute list.

Syntax 

     SDDeleteAttrRelType (Dcb,RelationshipType,RelationshipClass, 
                          Attribute,Status)

Parameters 

Dcb                       Required input; type = DcbType 
                          This parameter passes information about the
                          dictionary to this intrinsic.  It is
                          initialized by the SDOpen intrinsic.

RelationshipType          Required input; type = RelationshipTypeList 
                          This parameter specifies the relationship type
                          whose association with the attribute is to be
                          deleted.

RelationshipClass         Required input; type = NameOrNumberType 
                          This parameter specifies the class of the
                          relationship type.  Blanks or a 0 may be
                          specified for this parameter when the entity
                          types specified in the RelationshipType 
                          parameter uniquely identify a relationship
                          type.

Attribute                 Required input; type = NameOrNumberType 
                          This parameter specifies the attribute whose
                          association with the relationship type is to be
                          deleted.

Status                    Output; type = StatusType 
                          This parameter contains information indicating
                          the success or failure of the intrinsic call.
                          This information is detailed in Table 3-1.

Discussion 

When the dictionary is restructured, every relationship occurrence of the
specified relationship type will have the specified attribute removed
from its list.  The following restrictions apply:

   1.  Open mode--The dictionary must be opened in Exclusive 
       Customization mode.

   2.  Security--The current scope must be either the Dictionary
       Administrator scope or the relationship type/attribute pair's
       owner scope.

   3.  The following special attributes can never be removed from any
       relationship type:
         scope-owner
         scope-changed
         date-created
         date-changed
         sensitivity
         relationship-position

   4.  Core set relationship type/attribute pairs cannot be deleted.


MPE/iX 5.0 Documentation