Information Catalog Manager Administration Guide

Deleting an object

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.)

Deleting an object by using the Information Catalog Manager windows

Start from one of the following windows:

Search Results
Collection
Found In
Contacts
Subjects
Tree View
Linked With
  1. Right-click on the object that you want to delete.
  2. Click Delete.
  3. (Optional) Deselect any objects in the Object list box that you do not want to delete.
  4. If you are deleting a Grouping object, you must decide what you want the Information Catalog Manager to do with the objects that are contained in the Grouping object:
  5. Click Delete to delete the object.

The object is deleted from the information catalog.

Deleting an object by using the Information Catalog Manager tag language

  1. To delete a Grouping object and all objects it contains, enter the following line in your tag language file:
    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)
    
  2. Enter the following line, filling in the object type of the object you want to delete:
    OBJECT.TYPE(short_name_of_object_type)
    
  3. Enter the following lines, filling in the UUI properties and property values of the object you want to delete:
    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:

    Keyword
    Value

    TYPE
    The short name of the object type for which you are deleting an object.

    UUI_short_name
    The short name of a UUI property that belongs to the object type for which you are deleting an object.

    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.


[ Top of Page | Previous Page | Next Page ]