To show users that data represented by one object is related to data that is represented by another object, you create a linked relationship by associating objects. You can link objects by using the Information Catalog Manager windows or tag language.
To create a linked relationship, start from one of the following windows:
The Update Links window opens.
The Define Search - Links window opens. Use this window to search for objects you want to include in the linked relationship with the selected object. Objects that fit your search criteria are returned to the Update Links window in the Available objects list.
To close the window without changing any objects, click Cancel.
To link associated objects with tag language, specify a link relationship between two objects that are categorized as Grouping or Elemental.
:ACTION.RELATION(ADD)
:ACTION.RELATION(DELETE)
:RELTYPE.TYPE(LINK) SOURCETYPE(short_name_of_object_type) TARGETYPE(short_name_of_object_type)
:INSTANCE.SOURCEKEY(UUI_short_name(value_for_property) UUI_short_name(value_for_property) UUI_short_name(value_for_property))
TARGETKEY(UUI_short_name(value_for_property) UUI_short_name(value_for_property) UUI_short_name(value_for_property))
After each keyword, type an appropriate value within the parentheses:
Completely enclose in parentheses all the properties and values after the SOURCEKEY and TARGETKEY keywords.
Figure 8 shows an example of tag language to create a linked relationship between two Grouping objects. The example assumes that you already created the source and target objects.
Figure 8. Linking two objects with tag language
ACTION.RELATION(ADD) RELTYPE.TYPE(LINK) SOURCETYPE(TABLES) TARGETYPE(TABLES) INSTANCE.SOURCEKEY(DBNAME(DGWDATA) OWNER(USERID) TABLE(COMPONENTS)) TARGETKEY(DBNAME(DGWDATA) OWNER(USERID) TABLE(CUSTSHIP)) |
In this example, two relational tables are linked.