You can delete an object from your information catalog by using the Information Catalog Manager windows or tag language. (For information about deleting a comment, see Deleting a comment.)
Start from one of the following windows:
The object is deleted from the information catalog.
ACTION.OBJINST(DELETE_TREE_ALL)
To delete a Grouping object and all relationships in which it participates, including the underlying tree structure, enter the following line in your tag language file:
ACTION.OBJINST(DELETE_TREE_REL)
To delete a non-Grouping object, enter the following line in your tag language file:
ACTION.OBJINST(DELETE)
OBJECT.TYPE(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))
After each keyword, type an appropriate value within the parentheses:
Properties and values that are specified after the SOURCEKEY keyword are the UUI. When you created the object type, you defined certain properties in a certain order to make up the UUI. When you enter those properties and values, the Information Catalog Manager checks the values in the order that is defined in the object type to locate an object.
Completely enclose in parentheses all the properties and values after the SOURCEKEY keyword.
Figure 6 shows an example of tag language to delete a Grouping object and all objects it contains. The example uses the object that is created in Figure 4.
Figure 6. Deleting an object with tag language
ACTION.OBJINST(DELETE_TREE_ALL) OBJECT.TYPE(TABLES) INSTANCE.SOURCEKEY(DBNAME(DGWDATA) OWNER(USERID) TABLE(CUSTOMER)) |
In this example, the table object identified by DBNAME(DGWDATA) OWNER(USERID) TABLE(CUSTOMER) is deleted.