DISPLAY SCOPE [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL SDMAIN
DISPLAY SCOPE
Displays one or more scopes.
Syntax
DIS[PLAY] S[COPE] [scope-name]
[;S[COPE-]R[IGHTS] = scope-right]
[;S[COPE-]O[WNER] = scope-owner-name]
[;NAME[-ONLY]]
[;NO[SORT]]
.
Parameters
scope-name Name of the scope to be displayed.
scope-right Right assigned to the scope to be displayed. Valid
rights are:
create
domain
extend
read
secure
version
scope-owner-name Owner of the scope to be displayed.
NAME-ONLY If specified, only the name of the qualifying scope
is displayed. If not specified, the name, right,
password, and owner are displayed.
NOSORT Reports on the scopes in the unsorted order in
which they are retrieved from the dictionary.
Otherwise, the scopes are sorted alphabetically by
the scope name.
Description
Note that any scope having the specified scope right(s) is selected. For
example, if the rights selected are domain and version, any scope that
has at least the domain and version capabilities is displayed.
Therefore, if scopes with only domain and version capabilities, and no
other capabilities, are desired, then the scope-right specification must
be:
SCOPE-RIGHTS = D and V and
S and
E and
C and
R
or
SCOPE-RIGHTS = D, V,
S,
E,
C,
R.
When sorting is not required, the use of the NOSORT keyword speeds
processing time.
The scope must have secure capability in order to report on any scopes
other than the current scope.
Open Mode: Any
Scope: DA scope, the scope's owner scope, or the current scope
Example
The following example displays all scopes with at least domain and
version capabilities. The only one found and displayed is the DA scope
which has all scope rights.
>DISPLAY SCOPE;
>>SCOPE-RIGHTS = D and V.
DA
Scope-Rights : S E C R D V
Password : data-admin
Scope-Owner : CORESET
1 Scope(s) Retrieved
>
MPE/iX 5.0 Documentation