Troubleshooting
Problem
This technote explains why the error, loaded but missing, appears after updating an IBM Rational ClearCase snapshot view on Microsoft Windows, UNIX or Linux.
Symptom
Running a cleartool ls command output displays elements as loaded but missing.
Note: Although the examples below are Windows centric, the concepts and commands are the same (or very similar) on UNIX and Linux.
Example:
Before:
C:\Snapshot_views\snapshot_vu\test_vob>cleartool ls
test.i@@\main\3 Rule: \main\LATEST
Deleting the file to simulate removal:
C:\Snapshot_views\snapshot_vu\test_vob>del /f test.i
After:
C:\Snapshot_views\snapshot_vu\test_vob>cleartool ls
test.i@@\main\3 [loaded but missing] Rule: \main\LATEST
You may also see the elements listed as follows:
Library.tde@@ [loaded but missing, deleted version]
Review the IBM Rational ClearCase Command Reference Guide on the topic of ls (cleartool man ls) for more information on this and other types of common errors seen in a view.
Cause
The version of the element has been loaded, but this version has been removed or renamed in that particular view.
Resolving The Problem
Option #1:
To copy the missing version back into the view (from a location inside or outside the VOB), use the cleartool get command.
Note: This will generate a hijacked file.
Example: Outside the VOB
C:\Snapshot_views\snapshot_vu\test_vob>cleartool ls
test.i@@\main\3 [loaded but missing] Rule: \main\LATEST
C:\Snapshot_views\snapshot_view\test_vob>cleartool get -to C:\Snapshot_views\snapshot_view\test_vob\test.i C:\temp\test.i
C:\Snapshot_views\snapshot_view\test_vob>cleartool ls
test.i@@\main\3 [hijacked] Rule: \main\LATEST
Example: Inside the VOB
C:\Snapshot_views\snapshot_vu\test_vob>cleartool ls
test.i@@\main\3 [loaded but missing] Rule: \main\LATEST
C:\Snapshot_views\snapshot_view\test_vob>cleartool get -to C:\Snapshot_views\snapshot_view\test_vob\test.i test.i@@\main\3
C:\Snapshot_views\snapshot_view\test_vob>cleartool ls
test.i@@\main\3 [hijacked] Rule: \main\LATEST
Option #2:
Run the cleartool update command to update the snapshot view, specifying the path name to the missing file.
Example:
C:\Snapshot_views\snapshot_vu\test_vob>cleartool update test.i
Loading "test_vob\test.i" (8 bytes).
Done loading "\test_vob\test.i" (1 objects, copied 0 KB).
Log has been written to "C:\Snapshot_views\snapshot_vu\update.17-Apr-07.
07.52.23.updt".
C:\Snapshot_views\snapshot_view\test_vob>cleartool ls
test.i@@\main\3 Rule: \main\LATEST
Option #3:
Delete the snapshot view and create a new one. The element will then appear as normal without being in a state of "file loaded but missing".
Related Information
Was this topic helpful?
Document Information
Modified date:
29 September 2018
UID
swg21258149