I confirm that you cannot find the root directory of the snapshot view, knowing its view tag: the snapshot view can be downloaded in several separate directories if you want.
The only link between your snapshot and its root directory is a hidden .view.dat file that contains the uid of the view.
In addition, the host name associated with the view has nothing to do with whether it is loaded or not on the computer. This is the name of the view server (which may be your own desktop or may be a centralized server). It is on this server that the view.exe process manages all ClearCase-related operations for this view.
So, with your script (e.g. perl script ) you do not need CAL first to find this view: you first need to look at the view.dat file, extract the uid, and then check if it matches the uid ( lsview -l -full -pro ) are looking for.
source share