MODIFY SCOPE-RELATIONSHIP [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL SDMAIN
MODIFY SCOPE-RELATIONSHIP
Modifies the access a scope has to a relationship.
Syntax
M[ODIFY] 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]
;S[COPE-]A[CCESS] = scope-access
.
Parameters
scope-name Name of the scope with which the relationship is
associated.
entity-name(N) Name of the entity involved in the relationship
that is associated with the scope.
entity-type-name(N) Name of the entity type involved in the
relationship type.
relation-class-name Name of the relationship class.
scope-access The new access allowed to the relationship. The
two types of access that are allowed are:
read The scope can only read the
relationship information.
modify The scope may modify the
relationship; read access is
automatically assigned.
Description
The scope to be given access must have create capability to be allowed
modify access.
Open Mode: Shared-update or exclusive-update
Scope: DA scope or the relationship's owner scope
Example
The following example changes the access allowed the scope candidate to
the relationship name contains last-name to modify access.
>MODIFY SCOPE-RELATIONSHIP candidate;
>>RELATIONSHIP = name, last-name;
>>RELATIONSHIP-TYPE = element, element;
>>RELATIONSHIP-CLASS = contains;
>>SCOPE-ACCESS = modify.
>
MPE/iX 5.0 Documentation