On Thu, 16 May 2013 13:54:32 -0400, Stephen Hoffman
<seao...@hoffmanlabs.invalid> wrote:
>On 2013-05-16 01:50:32 +0000, Syltrem said:
>
>> I mean... foolishly
>
>DECwindows version and patch? VMS version and patch? There've been
>various fixes to DECwindows, DCL and other related hunks over the
>years, and having a DECwindows login � CDE or Motif � tip over is not
>particularly unusual.
>
I know - I had other problems long ago. Still have a few comments in
my
login.com.
This is now on OVMS 8.3
DEC AXPVMS DWMOTIF_ECO04 V1.6 Patch Install Val
01-MAR-2010
A bit old, certainly. I only ever use it (DEC$Windows) to install
Oracle and the way things have been going lately, this has not happen.
And may not again for a long time.
>>
>> I found that I could not logon on a DECWindows session on the console
>> with my account. So I went and checked all the .COMs that were called
>> upon login, and finally found the culprit.
>>
>> The line of code ....
>
>Presumably that is (was) DCL within either DECW$
SYLOGIN.COM or
>DECW$
LOGIN.COM procedures, inferring from some of your phrasing.
>
>IIRC, output generated from those DECW$*
LOGIN.COM procedures could
>interrupt processing, too. I don't know off-hand if that was a bug or
>a feature, though. Or if I'm even remembering that stuff correctly, as
>it's been a while since I've bothered to use DECW$*
LOGIN.COM procedures
>for much of anything.
>
I once had problems with output from DCL commands, true. This one
statement though does nothing at all - so no output
It's called from my
LOGIN.COM, and comes from PowerHouse (to setup its
symbols/logicals). The command : $SETPOWERHOUSE
The bit of code is specifically in
SETPH.COM.
>> ... that creates the problem is an IF statement, and the
>> condition is FALSE so the conditional statement NEVER executes.
>> Nevertheless.... if that statement is there, it makes the logon freeze
>> (stays on the screen forever with the message "Starting the New
>> Desktop for OpenVMS" and the hourglass).
>
>There's some troubleshooting information in the manuals, and various
>parts of DECwindows are known for creating log files or dump files,
>even when things haven't gone sideways. Dig around in the DECwindows
>server logs, for instance, and check the system directories for any
>freshly-written .DMP or .LOG carcasses. Also see if the
>SYS$MANAGER:DECW$
PRIVATE_APPS_SETUP.COM stuff that can generate
>SYS$MANAGER:DECW$LOGIN.LOG via the DECW$LOGINLOG symbol shows any more
>details of what happened; that's discussed in the DECwindows
>troubleshooting documentation.
SYS$MANAGER:DECW$
PRIVATE_APPS_SETUP.COM and SYS$MANAGER:DECW$LOGIN.LOG
don't exist; DECW$LOGINLOG is not defined
>
>> The statement :
>>
>> $ IF F$TRNLNM("LANG","LNM$PROCESS") .NES. ""
>> $ THEN a=1
>> $ DEASSIGN/TABLE=LNM$PROCESS_TABLE LANG
>> $ sh sym a
>> $ ELSE a=2
>> $ sh sym a
>> $ ENDIF
>> ...
>
>I'm not a huge fan of putting commands onto the THEN and the ELSE lines
>in an IF-THEN-ELSE-ENDIF block, as there've been occasional DCL bugs
>with handling that syntax over the years.
This was to double-check in a log file (DEFINE SYS$OUTPUT XX.LOG in my
login.com) what was actually been executed - the THEN or the ELSE
The original statement is actually on a single line :
$ IF F$TRNLNM("LANG","LNM$PROCESS") .NES. "" THEN
DEASSIGN/TABLE=LNM$PROCESS_TABLE LANG
>
>DCL has had its share of bugs.
>
>As has DECwindows.
>
>As has the rest of VMS.
>
>
>> If I leave everything but put a comment in front of the DEASSIGN verb,
>> the logon goes through without problems. A "Z" in front of DEASSIGN
>> (that makes ZDEASSIGN) also works. It just doesn't like to see the
>> DEASSIGN command in there, event if it's not executed.
>> I also *know* the LANG logical is not defined.
>>
>> If I take the whole statement IF..ENDIF out of context and move it to
>> my
LOGIN.COM, it does no harm and the logon goes through.
>> I don't get it.
>>
>> Someone cares to explain ?
>
>Um, "If it hurts, don't do that?" Slightly more seriously, something
>blew up. See if there are logs or dumps.
Could not find any DMP
Only these 3 log files with nothing helpful (no errors) in them
DECW$SERVER_0_ERROR.LOG;279
decw$sm.log;79
DECW$STARTUP_0.LOG;32
>
>> Or do I report a bug to HP ?
>
>If you're patched to current and have a support contract and on a
>supported version and need or want a fix for this then sure.
>{But it's not like you need anybody's permission to do that, after all.}
>The chances of getting a fix for this misbehavior otherwise will be
>correspondingly, well, low.
I'm getting this system ready to test an upgrade to 8.4, so I guess
I'll just wait and see what happens when I get there, and all patched
up.
I still find it very strange that it would act like this. Probably a
bug in DCL.
Thanks for your time
Syltrem