CREATE SCOPE [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL SDMAIN
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, relationship classes, and
attributes to extend, or customize,
the dictionary structure.
read The scope can read entities and
relationships accessible to the
scope.
secure The scope can create, modify, and
delete other scopes.
version The scope can create, modify, and
delete versions.
password-parameter Password of the scope to be created. If you do not
specify a password, a blank password is assigned
for the scope. Any characters are allowed in a
password. If a character is desired in the
password that is not valid in other System
Dictionary names, you must enter the password
inside a pair of quotes to allow recognition of the
restricted characters. (See "Scope Password" in
Chapter 3.)
Remember that the case of the entered password also
counts when the password is checked.
Description
The scope being created cannot be assigned any capabilities (scope
rights) that the current open scope does not have.
To avoid possible name conflicts with any future extensions to the core
set, do not create any scopes with a name starting with the characters
"HP" .
Open Mode: Shared-update or exclusive-update
Scope: DA scope or any scope with secure capability. The scope
with which the dictionary is open is the owner of the
scope.
Example
The following example creates a new scope tester with read capability and
the password %Main.
>CREATE SCOPE tester;
>>SCOPE-RIGHTS = Read;
>>PASSWORD = %Main.
>
MPE/iX 5.0 Documentation