To create one component per VOB (Linux and the UNIX system)


  1. Make a view by using the cleartool mkview command. For example:
    cleartool mkview –tag myview /net/host2/view_store/myview.vws
  2. If you create a dynamic view, also issue the cleartool setview command. For example:
    cleartool setview myview
  3. Use the cleartool mkvob command to create a VOB. For example:
    cleartool mkvob –nc –tag /vobs/testvob1 /usr/vobstore/testvob1.vbs
  4. If you are in an MVFS environment and developers use dynamic views, perform the following steps:
    1. Create the VOB mount point to match the VOB tag. For example:
      mkdir /vobs/testvob1
    2. Mount the VOB. For example:
      cleartool mount /vobs/testvob1
  5. Do one of the following steps to create the component:
    • Issue the cleartool mkcomp command. For example:
      cleartool mkcomp –nc –root /vobs/testvob1 testcomp1@/vobs/myproj2_pvob

      In this example, the mkcomp command creates a component named testcomp1 based on the VOB named testvob1. Although this example uses different names for the VOB and component, you can use the same name for both. The component name must be unique within its PVOB. The VOB and PVOB must be mounted before you issue the command. All projects that use the myproj2_pvob PVOB can access the testcomp1 component.

    • Convert an existing VOB into a component.