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

4-134
between 2 and 3 which is impossible. You can renumber the relationships by specifying a START-
POSITION of 10 and an INCREMENT of 10. This assigns relationship-position values of 10, 20, and 30 to
the relationships sales-data contains account, sales-data contains quantity, and sales-data contains purch-
date, respectively. Now you can create the new relationship sales-data contains price and assign its byte-
offset to 7 and its relationship-position to a value between 20 and 30. The relationships now define the
new record layout.
Open Mode: Shared-update or exclusive-update
Scope: DA scope oranyscope with create capability and modify accessto all the relationships
with the specified parent entity
Example
The following example renumbers all the relationships of relationship type record contains element whose
parent entity is sales-data starting with 10 and increasing by increments of 10.
>RENUMBER sales-data;
>>RELATIONSHIP-TYPE = record, element;
>>RELATIONSHIP-CLASS = contains;
>>START-POSITION = 10;
>>INCREMENT = 10.
>
REPORT ENTITY
Reports on one or more entities.
Syntax
REP[ORT] E[NTITY] [entity-name ]
;E[NTITY-]T[YPE] = entity-type-name
[;A[TTRIBUTE-]L[IST]=([ attribute-name1 =[attribute-value1 ]]
[,attribute-name2 =[attribute-value2 ]]
.
.
.
[,attribute-nameN=[attribute-valueN ]])]
[;C[OMMON]= [common-entity-name ]]
[;ALL ]
[;NAME[-ONLY] ]
[;L[IST] = information-list]
[;NO[SORT]]
[;SUB[-REPORT] = (nested-execute1
[ [,] nested-execute2 ]