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 |
I am having trouble with a startup issue: At system startup, I would like to be able to: *Mount a CD containing online docs *if successful (correct CD in reader), redefine DECW$BOOK to point to RRD_drive:[decw$book]/table=decw$logical_names The problem I am running into is that if I put that command into SYSTARTUP_V5.COM, then the process running DECW$STARTUP races, and usually DECW$STARTUP defines the logical after I define it in SYSTARTUP_V5.COM, so my customization gets overwritten by the default value of SYS$COMMON:[DECW$BOOK]. I tried to walk through STARTUP.COM to see exactly what is being done, but to be honest, that is non-trivial DCL code, and also not guaranteed to remain constant, so: How can I do this in a manner which will not get overwritten? Can I issue a DCL $SYNCH with some process? Can I create a .COM file to put into the END PHASE in SYSMAN? Any Ideas? Thanks, Kevin
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3523.1 | QUARK::LIONEL | Free advice is worth every cent | Wed Oct 24 1990 18:18 | 4 | |
Why do you want to define the logical in DECW$LOGICAL NAMES? You don't have to put it there - it works fine if you put it in the SYSTEM table. Steve | |||||
3523.2 | How I do it | NECSC::LEVY | The songs that we hear are just songs of our own | Thu Oct 25 1990 11:13 | 35 |
I use SYPAGSWPFILES to mount the CD *and* redefine DECW$BOOK: $ MOUNT/SYSTEM/NOASSIST DKA400: CDDOC05SEP01 CD_READER $ DEFINE/SYSTEM DECW$BOOK DKA400:[DECW$BOOK],USER$:[DECW$BOOK] Note that DECW$BOOK is a SYSTEM definition *and* a search list. The results: Ezwind� sh log decw$book "DECW$BOOK" = "DKA400:[DECW$BOOK]" (LNM$SYSTEM_TABLE) = "USER$:[DECW$BOOK]" "DECW$BOOK" = "SYS$COMMON:[DECW$BOOK]" (DECW$LOGICAL_NAMES) This allows me to keep stuff like this on magnetic media: Ezwind� dir user$:[decw$book] Directory USER$:[DECW$BOOK] BOOKREADER.DECW$BOOK;1 DSNLINK_CSC_USER_GUIDE_V11.DECW$BOOK;1 DSNLINK_MANAGER_GUIDE_V11.DECW$BOOK;1 DSNLINK_RELEASE_NOTES_V11.DECW$BOOK;1 DSNLINK_V11.DECW$BOOKSHELF;1 LATCP_MANUAL.DECW$BOOK;1 LIBRARY.DECW$BOOKSHELF;2 So I can have access to my field test documentation and the *real* stuff at the same time. All you need to do is make sure that there is a LIBRARY.DECW$BOOKSHELF in each directory that is a DECW$BOOK directory. Also need to modify SYPAGSWPFILES each time a new CD comes out. Does this help? - Dave | |||||
3523.3 | yet another solution... | RIPPLE::FARLEE_KE | Insufficient Virtual...um...er... | Fri Oct 26 1990 13:22 | 14 |
Yes, I know that I could define it in the SYSTEM table and that will override the DECW$LOGICAL_NAMES definition. It just seemed much cleaner to only have it defined once, in the proper place. The solution I came up with is to put the mount & definition in a separate COM file, and call that via SYSMAN using the phase END. That way it gets done last and doesn't get overwritten. It also has the advantage of being one place which contains all of the work for the CD, and if I dismount the CD temporarily, I need only run the com file when I put the media back in to get everything squared away. Thanks, Kevin |