IBM Support

Unable to determine VOB for pathname "." during clearimport

Troubleshooting


Problem

This technote explains how to resolve the IBM® Rational® ClearCase® error: []Unable to determine VOB for pathname "."[] when importing elements into a VOB running clearimport.

Cause

Attempts to use the clearimport command result in the following error:


    Unable to determine VOB for pathname "."

The clearimport command was not executed using the proper ClearCase view context.


Example:

    C:\>clearimport M:\view1\VOB1 C:\cvt_data
    clearimport: Error: Unable to determine VOB for pathname ".".


If the clearimport command is not executed within the context of a ClearCase view/VOB, then the -directory option must be used.

Resolving The Problem

Option #1:

Execute clearimport in a View/VOB context:

  1. Mount the destination VOB
  2. Start a View
  3. Set into the View and cd to the root of the VOB (or the directory to which the import will run).
  4. Execute the clearimport command
    Example:

    M:\view1\VOB1\dir1>clearimport c:\temp\cvt_data



Option #2:

Execute clearimport using the -directory option outside a View/VOB context:

  1. Mount the destination VOB
  2. Start a View
  3. Set into the View
  4. Execute the clearimport command using the -directory option where the directory path is the VOB path to the destination location.
    Example:

    C:\>clearimport -directory M:\view1\VOB1\dir1 c:\temp\cvt_data


[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU004","label":"Hybrid Cloud"},"Component":"Converter: clearimport","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF015","label":"IRIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"2002.05.00;2003.06.00;7.0","Edition":""}]

Document Information

Modified date:
16 June 2018

UID

swg21146285