IBM Support

Loaded but missing error after updating a snapshot view

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".

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"View: Snapshot","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":"7.1;7.1.0.1;7.1.0.2;7.1.1;7.1.1.1;7.1.1.2;7.1.1.3;7.1.1.4;7.1.1.5;7.1.1.6;7.1.1.7;7.1.1.8;7.1.1.9;7.1.2;7.1.2.1;7.1.2.10;7.1.2.11;7.1.2.12;7.1.2.13;7.1.2.2;7.1.2.3;7.1.2.4;7.1.2.5;7.1.2.6;7.1.2.7;7.1.2.8;7.1.2.9;8.0;8.0.0.1;8.0.0.10;8.0.0.2;8.0.0.3;8.0.0.4;8.0.0.5;8.0.0.6;8.0.0.7;8.0.0.8;8.0.0.9;8.0.1;8.0.1.1;8.0.1.2;8.0.1.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"View: Snapshot","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 September 2018

UID

swg21258149