REMOVE SCOPE-RELATIONSHIP [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL SDMAIN
REMOVE SCOPE-RELATIONSHIP
Removes a scope's access to a relationship.
Syntax
REM[OVE] S[COPE-]R[ELATIONSHIP] scope-name
;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
scope-name Name of the scope from which to remove access to
the relationship.
entity-name(N) Name of the entity involved in the relationship to
which access by the scope is being removed.
entity-type-name(N) Name of the entity type involved in the
relationship type.
relation-class-name Name of the relationship class.
Description
You cannot remove access to a relationship from its owner scope.
Open Mode: Shared-update or exclusive-update
Scope: DA scope, the relationship's owner scope, or the scope
from which access is to be removed
Example
The following example removes access to the relationship partno contains
1 of relationship type image-dataset contains image-class from the scope
manufacturing.
>REMOVE SCOPE-RELATIONSHIP manufacturing;
>>RELATIONSHIP = partno, 1;
>>RELATIONSHIP-TYPE = image-dataset, image-class;
>>RELATIONSHIP-CLASS = contains.
>
MPE/iX 5.0 Documentation