| >> How do you save a view and copy it to another machine ?
>>
>> This is what I tried:
>>
>> On node 1
>> $ DEFINE VUE$PROFILE SYS$LOGIN:SAVE_VUE.DAT
>> Save a view to be SAVE_VUE.DAT (From pull down Menu)
>> $ COPY Node1::SYS$LOGIN:SAVE_VUE.DAT Node2::SYS$LOGIN:*.*
>>
>> On Node 2
>> $ DEFINE VUE$PROFILE SYS$LOGIN:SAVE_VUE.DAT
You have a couple of options. Here's my favorite. It takes advantage
of the fact that when FileView starts, it automatically loads all the "VUE$DAT"
files it finds in the "VUE$LIBRARY" directory. If VUE$LIBRARY is a search
list logical name, then several directories can be scanned and loaded.
(0) SET DEFAULT SYS$LOGIN
This puts us in a known place.
(1) $CREATE/DIR [.VUE$LIBRARY]
This creates a subdirectory where you can collect files like this.
(2) $RENAME SYS$LOGIN:SAVE_VUE.DAT [.VUE$LIBRARY]SAVE_VUE.VUE$DAT
This moves your SAVE_VUE file into the subdirectory.
NOTE THE CHANGE OF FILETYPE TO VUE$DAT!!!
(3) Place the following line in your LOGIN.COM. This adds your
new subdirectory to the VUE$LIBRARY searchlist and will cause
it to be loaded automatically the next time FileView is run.
(Obviously, replace "mydisk" and "me" with the appropriate
device and username).
$DEFINE/JOB VUE$LIBRARY mydisk:[me.VUE$LIBRARY],-
SYS$COMMON:[VUE$LIBRARY.USER],-
SYS$COMMON:[VUE$LIBRARY.SYSTEM]
(4) The next time you run FileView, it should contain the saved view.
(*) Of course, if you want everyone on the system to get the saved view,
then you can simply put the file in the SYS$COMMON:[VUE$LIBRARY.USER]
and you're done. (You must still change the filetype to VUE$DAT, however.)
-steve-
|