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

8- 57
6 If the BACK-REFERENCE parameter is OFF, then some of the child ELEMENT entity's at-
tributes are retrieved to initialize the following relationship attributes:
If the parent element does have a child element named $REDEFINES, the following will occur:
All children which appear before the $REDEFINES child will be loaded according to the above method.
When reaching the $REDEFINES, SDCONV will create an entity of type ELEMENT, with attributes
corresponding to the table above, and with the addition of the BYTE-ELEMENT attribute. The name
of this entity will be contained in ELEMENT-ALIAS from the ELEMENT-ELEMENT relationship.
An ELEMENT redefines ELEMENT relationship will then be created between the created element and
the parent element.
The same process can occur for all following children with one exception: since there is only one child
element named $REDEFINES, and therefore only one ELEMENT-ALIAS name to create redefining
elements with, the ELEMENT-ALIAS name will be suffixed and incremented as needed, as shown below.
name-1, name-2, name-3, etc.
ELEMENT-REFTYPE. This data set contains the relationships that describe how one element
references another element. SDCONV reads the DATA-ELEMENT master set serially and chains into the
ELEMENT search item of this detail set. Each entry retrieved is mapped to the ELEMENT references
ELEMENT relationship. Each field in the data set is mapped to System Dictionary attributes according to
the following table:
The following table is used to initialize some of the attributes associated with the relationship:
relationship attribute value assigned
back-reference-flag false
element-type ELEMENT-TYPE from child ELEMENT
display-length ELEMENT-SIZE from child ELEMENT
decimal ELEMENT-DEC from child ELEMENT
blank ELEMENT-BLANK from child ELEMENT
justify ELEMENT-JUST from child 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
ELEMENT entity name of the left operand
ELEMENT-RTYPE entity name of the right operand
attribute value to assign
scope-owner ogon scope of the dictionary
date-created provided by the SD intrinsic
date-changed provided by the SD intrinsic