Adding a VOB to an administrative VOB hierarchy

Adding a VOB to an administrative VOB hierarchy gives it access to global types defined in the administrative VOB.

About this task

You can add a VOB to an existing administrative VOB hierarchy by removing an existing AdminVOB hyperlink and adding two new ones. This operation does not disrupt existing type definitions, because the hyperlink between a local copy and its associated global type remains intact.

To add a VOB to an administrative VOB hierarchy, use the following procedure.

Procedure

  1. Link the new VOB to its superior in the hierarchy.
    The following command creates an AdminVOB hyperlink from the VOB \admin_lb to the VOB \admin

    cleartool mkhlink –c "link admin_lb to admin" AdminVOB vob:\admin_lb vob:\admin
    Created hyperlink "AdminVOB@40@\admin_lb".

  2. Link the VOB you removed from the hierarchy in Step 1 back into the hierarchy.

    cleartool mkhlink –c "link re to admin_lb" AdminVOB vob:\re vob:\admin_lb
    Created hyperlink "AdminVOB@40@\re".

    This also reconnects the VOB \re with the hierarchy, because its link to \admin_re is still intact.