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

4- 97
;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[OURCE-]P[OSITION] = source-position ]
[;R[EPORT-]P[OSITION] = report-position ]
.
Parameters
report-name Name of the stored report to be executed.
entity-type-name(N) Name of the entity type involved in the relationship type.
relation-class-name Name of the relationship class.
source-position An integer (from 1 to 6) that specifies the position in the RELATIONSHIP-TYPE list
of the entitytypebeing reported in the primary report.Theentity type indicated must
match the value specified for ENTITY-TYPE in the primary REPORT command.
The value defaults to the matching entity type (specified in the REPORT ENTITY
command) ifthe type appearsonly one timein the list. If the entitytypeappears more
than once in the list, you must enter a value to indicate the one desired.
report-position An integer (from 1 to 6) that specifies the position in the RELATIONSHIP-TYPE list
of the entity type to be reported in the secondary report. The entity type indicated
must match the value specified for ENTITY-TYPE in the secondary (stored) REPORT
command. If the relationship type is binary (2-way), the default is to the entity type
that is not chosen as the match for the source entity type. However, for all relation-
ships that are not binary relationships, you must supply a value to indicate which en-
tity type is the desired report entity type.
Description
This command allows you to retrieve data about an entity and then, by following relationships in the
dictionary, report on related entities.
Open Mode: Read-only, shared-update, or exclusive-update
Scope: DA scope or any scope that has read access to the data being reported
Example
The following report consists of the attribute values of the image-database sales and all the image-datasets
that are related to it. The image-database contains image-dataset relationship type is specified as the path
to be used to find the image-dataset that is associated to the image-database sales. Note that neither
SOURCE-POSITION nor REPORT-POSITION are needed as the source entity type is unambiguous and
the specified relationship type is a binary one, respectively.