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

4-84
[;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 se-
cure 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 al-
phabetically 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
>
DISPLAY RELATIONSHIP-TYPE-ATTRIBUTE
Displays one or more relationship type attribute pairs.