HP 3000 Manuals

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


HP System Dictionary XL Intrinsics

SDDeleteRelClass 

Deletes a relationship class from the dictionary structure.

Syntax 

     SDDeleteRelClass (Dcb,RelationshipClass,PurgeFlag,Status)

Parameters 

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

RelationshipClass         Required input; type = NameOrNumberType 
                          This parameter specifies the relationship class
                          to be deleted.

PurgeFlag                 Required input by value; type = 1 byte Boolean 
                          This parameter specifies the action to take
                          with the relationship types which use this
                          relationship class.

                          If the parameter is true, then this intrinsic
                          will delete all of the relationship types which
                          use this relationship class.

                          If the parameter is false, and there are any
                          relationship types which use the relationship
                          class being deleted, this intrinsic will fail.

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,
                          located in Chapter 3 of this manual.

Discussion 

When a relationship type of the specified relationship class is deleted,
all relationships of that type will also be deleted.

The following restrictions apply when using this intrinsic:

   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 class' owner scope.

   3.  Core set relationship classes cannot be deleted.


MPE/iX 5.0 Documentation