[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1211.0. "Transporting Views" by MALLET::SERJEANT () Tue Aug 01 1989 17:50

    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
   		
      				
    But what do I do now ?
          
    Paul Serjeant
    
     

T.RTitleUserPersonal
Name
DateLines
1211.1Public Profile Files - How ToDECWIN::KLEINTue Aug 01 1989 23:3248
>>    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-

1211.2It worked !MALLET::SERJEANTMon Aug 07 1989 14:4610
    Hi Steve,
    
    Thanks. It worked ! 
    
    But ... just in case anyone else looks at this note: you do have to be 
    very careful not to get mixed up between system logicals and job logicals.
                                            
    Thanks again,
    Paul Serjeant