DISPLAY RELATIONSHIP-TYPE [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL SDMAIN
DISPLAY RELATIONSHIP-TYPE
Displays one or more relationship types.
Syntax
DIS[PLAY] R[ELATIONSHIP-]T[YPE] [ entity-type-name1]
[,entity-type-name2]
[,entity-type-name3]
[,entity-type-name4]
[,entity-type-name5]
[,entity-type-name6]
[;R[ELATIONSHIP-]C[LASS] = relation-class-name]
[;S[COPE-]O[WNER] = scope-owner-name]
[;NAME[-ONLY]]
[;NO[SORT]]
.
Parameters
entity-type-name(N) Name of the entity type involved in the
relationship type.
relation-class-name Name of the relationship class.
scope-owner-name Owner of the relationship type to be displayed. If
the current scope does not have secure capability,
any qualification other than the current scope
causes no relationship types to be retrieved.
NAME-ONLY If specified, only the name and class of the
qualifying relationship type are displayed. If not
specified, the name, class, owner, and attribute
list are displayed.
NOSORT Reports on the relationship types by class in the
unsorted order in which the classes are retrieved
from the dictionary. Otherwise, the relationship
classes are sorted alphabetically by the
relationship class name.
Description
You can use either nothing between commas (,,) or a ^ between commas
(,^,) as a placeholder to match any entity type name in the middle of a
list.
When sorting is not required, the use of the NOSORT keyword speeds
processing time.
If the scope does not have secure capability, and the current scope is
not the owner, then the scope owner is not displayed.
Open Mode: Any
Scope: Any
Example
The following example displays all relationship types of class contains
with image-dataset as the first entity type and any entity types
beginning with rec as the second entity type. The owner scopes and a
list of all associated attributes are printed for each.
>DISPLAY RELATIONSHIP-TYPE image-dataset, rec^;
>> RELATIONSHIP-CLASS = contains.
IMAGE-DATASET RECORD
Rel-Class : CONTAINS
Scope-Owner : CORESET
Attributes : DATE-CREATED, DATE-CHANGED, SCOPE-OWNER,
SCOPE-CHANGED, SENSITIVITY, RELATIONSHIP-POSITION,
PRIMARY-RECORD
1 Relationship-Type(s) Retrieved
>
MPE/iX 5.0 Documentation