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

4- 63
Open Mode: Customization
Scope: DA scope or any scope with extend capability. The scope with which the dictionary is
open is the owner of the relationship type.
Example
The following example creates a new relationship type project contains program, with contains being the
relationship class of the relationship type.
>CREATE RELATIONSHIP-TYPE project, program;
>>RELATIONSHIP-CLASS = contains.
>
CREATE SCOPE
Creates a new scope.
Syntax
C[REATE] S[COPE] scope-name
[;INT[ERNAL] = internal-name ]
;S[COPE-]R[IGHTS] = scope-rights1
[,scope-rights2 ]
.
.
.
[,scope-rightsN ]
;P[ASSWORD] = [password-parameter ]
.
Parameters
scope-name External name of the scope to be created.
internal-name Internal name of the scope to be created. If not specified, the internal name is the
same as the scope-name.
scope-rights(N) The capability to be given to the scope. The following capabilities are available:
create The scope can create, modify, and delete entities and relationships,
depending on security restrictions. Read capability is automatically
assigned.
domain The scope can create, modify, and delete domains. Version capability
is automatically assigned.
extend The scope can create, modify, and delete entity types, relationship
types,relationshipclasses, andattributes to extend,or customize,the
dictionary structure.