| 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 |
This week I upgraded from plain V5.3 to V5.4 with some problems that have
been QAR'd and posted in VMS_FT.
To salvage my installation I had to delete my MODPARAMS.DAT file. This
file contained SCSNODE = "OCENIA " in it. So the new system did not
have this parameter defined. Note that I am running standalone.
All my command procedure that are doing something like
x = f$getsyi("NODENAME")
have problems now since x is assigned the value "". Among other command
procedures the DECW$PRIVATE_SERVER_SETUP procedure has a problem to because
it has the line
$ if (node .eqs. f$getsyi("NODENAME"))then goto do_'node
in it. Node will get "" assigned and DCL will complain about an unsatisfied
GOTO ("do_").
I fixed the situation with the following ("*" marks new or changed lines):
....
$ node_loop:
$ node = f$element(node_number,"/",node_list)
$ if node .eqs. "/" then goto do_default
$! if (node .eqs. f$getsyi("NODENAME"))then goto do_'node *
$ if (node .eqs. f$getsyi("NODENAME"))
$ then
$ goto do_'node
$ else *
$ thisnode = f$logical("SYS$NODE") *
$ thisnode = thisnode -"_" *
$ thisnode = thisnode -"::" *
$ if (node .eqs. thisnode) *
$ then *
$ goto do_'node *
$ endif *
$ endif *
$!
$ node_number = node_number + 1
$ goto node_loop
....
Somehow I was expecting f4getsyi to log at SYS$NODE and not at the
SCSNODEID. Am I missing something ? Did this change with V5.4? If it
did in fact change this will create a hell of a lot of calls to the CSC!
Hope someone can enlighten me!
thanks
Thomas
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 3292.1 | KONING::KONING | NI1D @FN42eq | Fri Aug 31 1990 16:21 | 5 | |
GETSYI has always looked at SCSNODE, not SYS$NODE. It has also always been wrong to use it when you want the DECnet node name. The only right way is to use SYS$NODE. paul | |||||
| 3292.2 | DECWET::SIEBOLD | Is it Madonna or Maradona ? | Fri Aug 31 1990 17:49 | 8 | |
Then I suppose that someone should FIX DECW$PRIVATE_SERVER_SETUP.TEMPLATE, because that is where the code is from!! DO I need to QAR this?? Thomas | |||||
| 3292.3 | QUARK::LIONEL | Free advice is worth every cent | Fri Aug 31 1990 20:20 | 8 | |
I don't think so. The template is just a suggestion, and the use
of the SCS node is perfectly reasonable in most cases. If you
think about it, you'd realize that the code for determining what
node one was on only makes sense in a cluster. (Though I have tried
and failed in the past to figure out how to determine in that file
that I am using a VT1000...)
Steve
| |||||