To regenerate the (.)view.dat file

About this task

To regenerate the .view.dat file (on the UNIX system or Linux) or the view.dat file (on Windows systems), perform the following steps:

Procedure

  1. Open a command prompt.
  2. Complete either of the following actions:
    • On Linux or the UNIX system, type the following command:
      Perl ccase-home-dir/etc/utils/regen_view_dot_dat.pl \
      [ –tag snapshot-view-tag ] snapshot-view-path
      For example:
      Perl /opt/devops/clearcase/etc/utils/regen_view_dot_dat.pl \
      –tag pat_v1.4_cropcircle_sv \
      ~/pat_v1.4_cropcircle_sv
    • On a Windows system, type the following command:
      ccperl ccase-home-dir\etc\utils\regen_view_dot_dat.pl ^ 
      More? [ –tag snapshot-view-tag ] snapshot-view-path
      For example:
      ccperl c:\devops\clearcase\etc\utils\regen_view_dot_dat.pl ^ 
      More? –tag  pat_v1.4_cropcircle_sv ^ 
      More? c:\pat_v1.4_cropcircle_sv 

Results

If the view storage directory is under the root directory of the view, you do not need to use the –tag snapshot-view-tag argument.