ADD SCOPE-ENTITY [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL SDMAIN
ADD SCOPE-ENTITY
Allows a scope to have access to an entity.
Syntax
A[DD] S[COPE-]E[NTITY] scope-name
;E[NTITY] = entity-name
;E[NTITY-]T[YPE] = entity-type-name
[;S[COPE-]A[CCESS] = scope-access]
.
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
assigned.
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.
>
MPE/iX 5.0 Documentation