HP System Dictionary/XL SDMAIN Reference Manual (32256-90001)
4- 139
attribute(N)
attributes Reports the values of all attributes linked to the relationship
type. If you choose this option, any specific attribute names that
have been listed are ignored.
scope-access Reports the access the current scope has to the relationship.
common If in a local domain, specifying common reports the name of the
relationship in the common domain to which this relationship is
linked. If in the common domain, specifying common reports all
relationships in a local domain linked to this relationship in the
common domain.
versions Lists all of the versions having a copy of the relationship.
scopes Lists all of the scopes having access to the relationship.
The above information is listed if the scope capabilities allow the
necessary access. If the capabilities do not allow access to some
piece of information, then that information is skipped and
processing continues with the next piece.
This clause with LIST = name, attributes is the default if you do
not specify any of the three listing options (ALL, LIST, or
NAME-ONLY).
Description
Do not specify entity-name(N) if this command is being saved (i.e., is inside a START/SAVE pair). If
specified within a START/SAVE pair, it is ignored. Note that you can use either nothing between commas
(,,) or a ^ between commas (,^,) as a placeholder to match any entity name in the middle of a list.
Remember, you can use selection criteria (see "Selection Criteria" in Chapter 3) in most fields to qualify the
relationships retrieved.
Open Mode: Read-only, shared-update, or exclusive-update
Scope: DA scope or any scope with read access to the relationship
Example
The following example produces a report on all relationships of type image-database contains image-
dataset with the image-database accounts. All information about the relationship is reported: its common
link (it does not have one), the access the current scope has to the relationship, the values of all the
attributes for the relationship, the scopes having access to the relationship, and the versions containing a
copy of the relationship.
>REPORT RELATIONSHIP accounts;
>>RELATIONSHIP-TYPE = image-database,image-dataset;
>>RELATIONSHIP-CLASS = contains;
>>ALL.
ACCOUNTS CUSTOMER
Common :
Scope-Access : OWNER
DATE-CREATED : 11/11/84 4:44 AM