HP System Dictionary/XL SDMAIN Reference Manual (32256-90001)

4-44
Parameters
scope-name Name of the scope given access to the entity.
entity-name Name of the entity to associate with the scope.
entity-type-name Name of the type of the entity.
scope-access The type of access the scope has to the entity. The two types of access that are allowed
are:
read The scope can only read the entity information.
modify The scope may modify the entity. Read access is automatically as-
signed.
The default is read.
Description
Explicit access can be given only if it is not already allowed by the sensitivity attribute of the entity. In
addition, the scope to be given access must have sufficient capability. That is, at least read capability to be
allowed read access and at least create capability to be allowed modify access.
Open Mode: Shared-update or exclusive-update
Scope: DA scope or the entity's owner scope
Example
The following example allows the scope purchasing to have modify access to the element product-number.
>ADD SCOPE-ENTITY purchasing;
>>ENTITY = product-number;
>>ENTITY-TYPE = element;
>>SCOPE-ACCESS = modify.
>
ADD SCOPE-RELATIONSHIP
Allows a scope to have access to a relationship.
Syntax
A[DD] 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