HP System Dictionary/XL General Reference Manual Vol 1 (32256-90004)

7- 104
Example
To define the ACCOUNT chain in data set SALES, relate the detail data set SALES, the ELEMENT
ACCOUNT, the ELEMENT PURCH-DATE, the data set CUSTOMER, the database STORE, in that order,
with the relationship class chains. To indicate that this is the primary path, set the attribute primary-flag
to true.
Note that there is more than one sort item for this path. To define the second sort item, create the exact
same relationship just described except for the sort item, as follows: Relate the detail data set SALES, the
ELEMENT ACCOUNT, the ELEMENT DELIV-DATE, the data set CUSTOMER, the database STORE, in
that order. The attribute relationship-position keeps track of the order of the sort items.
Security Class Number
A security class number is defined as an IMAGE-CLASS entity. Note that in the dictionary you must give
the class a name and you should reference the class by that name, not the Image class number. Password
is an IMAGE-CLASS attribute.
Example
To define the security class number 1, create the IMAGE-CLASS CLERICAL (or any name that implies
which class this is) with password equal to clrk, and class-number equal to 1. To establish that class-
number 1 is in database STORE, use the relationship type IMAGE-DATABASE contains IMAGE-CLASS.
Data Item Class List
A data item class list is defined by the ELEMENT contains IMAGE-CLASS relationship type. An
ELEMENT (data item) should be related to each IMAGE-CLASS in its class list with READ/WRITE access
specified in the ELEMENT contains IMAGE-CLASS relationship type attribute access.
Example
To define the class list for ELEMENT DELIV-DATE, relate the ELEMENT DELIV-DATE to the class
CLERICAL with the ELEMENT contains IMAGE-CLASS relationship type with access equal to WRITE.
Data Set Class List
A data set class list is defined by the IMAGE-DATASET contains IMAGE-CLASS relationship type. A
data set should be related to each class in its class list with READ/WRITE access specified in the IMAGE-
DATASET contains IMAGE-CLASS relationship type attribute access.
Example
To define the class list for data set SALES, relate the data set SALES to the classes CLERICAL and
BUYER using the IMAGE-DATASET contains IMAGE-CLASS relationship type with access equal to
WRITE for CLERICAL and READ for BUYER.
Database
A database is a IMAGE-DATABASE entity. The IMAGE-DATABASE contains IMAGE-DATASET
relationship type defines which datasets are contained in an IMAGE database. Attributes of this
relationship type are BLOCK and CAPACITY.