HP System Dictionary/XL General Reference Manual Vol 2 - Part 1 SDINIT (32256-90005)

8- 62
2 When the file type is DETL, FILE-KEY can have any non-negative value. If it is 0, the element is
not a search item for the detail data set. Therefore, no chain relationship is created. On the other
hand, if it is >0, then the element is a search item for the data set, and the chain relationship in-
volving IMAGE-DATASET, ELEMENT, ELEMENT, IMAGE-DATASET, and IMAGE-DATA-
BASE is created. In the relationship, the first IMAGE-DATASET is the detail data set; the data
setname is taken fromthe FILE field. Thenext entity (ELEMENT) isthe search itemforthe detail
set; the element name is taken from the ELEMENT field. The next is the sort item for the path,
whose name can be retrieved through the ELEMENT-KEY field. If it is 0, the sort item is left
blank. Otherwise, the FILE-SORT detail data set is searched with the key to find the sort item's
actual name. The next entity is the master data set of the path. The file link in FILE-KEY is used
to search the FILE-PATH detail set, in order to find the master data set's actual name. The last
entity is the database to which the path belongs. In order to find the database name, the FILE-
FILE data set is searched with FILE-CHILD = the detail set name. For each database related to
the detail set, SDCONV checks to see if the database also contains the master set. If so, the chain
relationship is created. Therefore, many chain relationships involving different databases can be
created.
3 This field contains the link for the sort item. See above.
MPEF or MPER File Type. If the FILE-TYPE field in DATA-FILE contains 'MPEF' or 'MPER', the file
in question is an MPE sequential or an MPE relative file. The following definitions are created:
1 FILE contains RECORD relationship
2 RECORD contains ELEMENT relationship
The fields are mapped according to the following table:
units ELEMENT-UNITS from DATA-ELEMENT
sign ELEMENT-SIGN from DATA-ELEMENT
blank ELEMENT-BLANK from DATA-ELEMENT
justify ELEMENT-JUST from DATA-ELEMENT
synchronize ELEMENT-SYNC from DATA-ELEMENT
edit-mask (variable) ELEMENT-EDIT from child ELEMENT
entry-text (variable) ELEMENT-ENTRY from child ELEMENT
heading-text (variable) ELEMENT-HEAD from child ELEMENT
FILE entity name for the FILE entity
ELEMENT entity name for the ELEMENT entity*1
ELEMENT-ALIAS See note 2
FILE-KEY Not mapped
ELEMENT-KEY Not mapped
ELEMENT-PRIMARY Not mapped
DATA-CREATE Not mapped. See DATA-ELEMENT
attribute value assigned