DISPLAY RELATIONSHIP-TYPE-ATTRIBUTE [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL SDMAIN
DISPLAY RELATIONSHIP-TYPE-ATTRIBUTE
Displays one or more relationship type attribute pairs.
Syntax
DIS[PLAY] R[ELATIONSHIP-]T[YPE-]A[TTRIBUTE] [ entity-type-name1]
[,entity-type-name2]
[,entity-type-name3]
[,entity-type-name4]
[,entity-type-name5]
[,entity-type-name6]
[;R[ELATIONSHIP-]C[LASS] = relationship-class-name]
[;A[TTRIBUTE] = attribute-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 of the relationship type
attribute pair to be displayed.
relation-class-name Name of the relationship class.
attribute-name Name of the attribute of the relationship type
attribute pair to be displayed.
scope-owner-name Owner of the relationship type attribute pair to be
displayed. If the current scope does not have
secure capability, any qualification other than the
current scope causes no relationship type attribute
pairs to be retrieved.
NAME-ONLY If specified, only the names of the qualifying
relationship type attribute pair are displayed
(remember that a relationship type name includes
its relationship class). If not specified, the
names and owner are displayed.
NOSORT Reports on the relationship classes in the unsorted
order in which they are retrieved from the
dictionary. Otherwise, the relationship classes
are sorted alphabetically by the relationship class
name.
Description
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 scope owner, then the scope owner is not displayed.
Open Mode: Any
Scope: Any
Example
The following example displays the attributes linked to the relationship
type cabinet contains elements and the owners of the links.
>DISPLAY RELATIONSHIP-TYPE-ATTRIBUTE cabinet, element;
>>RELATIONSHIP-CLASS = contains;
>>SCOPE-OWNER = coreset.
CABINET ELEMENT
Relationship-Class : CONTAINS
SCOPE-OWNER
Scope-Owner : CORESET
SCOPE-CHANGED
Scope-Owner : CORESET
DATE-CREATED
Scope-Owner : CORESET
DATE-CHANGED
Scope-Owner : CORESET
SENSITIVITY
Scope-Owner : CORESET
RELATIONSHIP-POSITION
Scope-Owner : CORESET
6 Relationship-Type/Attribute Pair(s) Retrieved
>
MPE/iX 5.0 Documentation