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

4- 43
Example
The following example adds the attributes size and functionality to the relationship type program contains
module.
>ADD RELATIONSHIP-TYPE-ATTRIBUTE program, module;
>>RELATIONSHIP-CLASS = contains;
>>ATTRIBUTE = size, functionality.
>
ADD SCOPE-DOMAIN
Allows a scope to have access to a domain.
Syntax
A[DD] S[COPE-]D[OMAIN]
scope-name
D[OMAIN] =
domain-name
.
Parameters
scope-name Name of the scope given access to the domain.
domain-name Name of the domain to associate with the scope.
Description
Explicit access can be given only if it is not already allowed by the sensitivity of the domain.
Open Mode: Shared-update or exclusive-update
Scope: DA scope or the domain's owner scope
Example
The following example allows the scope candidate to have access to the domain extra-domain.
>ADD SCOPE-DOMAIN candidate;
>>DOMAIN = extra-domain. >
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 ]
.