INFO-VAX Fri, 16 Nov 2007 Volume 2007 : Issue 628 Contents: Re: "Mysterious" system crashes Re: "Mysterious" system crashes Re: "Mysterious" system crashes Re: "Mysterious" system crashes Re: "Mysterious" system crashes Re: "Mysterious" system crashes Re: "Mysterious" system crashes Re: "Mysterious" system crashes Re: "Mysterious" system crashes Re: "Mysterious" system crashes Re: "Mysterious" system crashes Re: "Mysterious" system crashes Re: "Mysterious" system crashes Re: "Mysterious" system crashes Converting serial I/O to ethernet I/O Re: Converting serial I/O to ethernet I/O Re: Converting serial I/O to ethernet I/O Re: Converting serial I/O to ethernet I/O Re: Converting serial I/O to ethernet I/O Re: Converting serial I/O to ethernet I/O Re: Converting serial I/O to ethernet I/O Re: Getting Fortran to read CTRL/Z in a file as data Re: Getting Fortran to read CTRL/Z in a file as data Re: Getting Fortran to read CTRL/Z in a file as data Re: Getting Fortran to read CTRL/Z in a file as data Re: Is VMS 8.3 available for hobbyist users and can it be installed on amd64 ( a Re: Mylex 960 question Re: Need help with TCPIP V5.1 configuration Re: Status of the VMS Hobbyist media kit(s) ? Re: Status of the VMS Hobbyist media kit(s) ? Re: Status of the VMS Hobbyist media kit(s) ? Re: system constants in COBOL Re: system constants in COBOL Re: system constants in COBOL Re: system constants in COBOL Re: system constants in COBOL Re: system constants in COBOL Re: system constants in COBOL Re: system constants in COBOL Re: system constants in COBOL Re: The NBA and VMS Re: VAX design out of fashion ? Maybe not. Re: VMS V8.3 I64, mail crashes sending to transferred user accounts Re: VMS V8.3 I64, mail crashes sending to transferred user accounts X11 in a browser? Re: X11 in a browser? Re: X11 in a browser? Re: X11 in a browser? ---------------------------------------------------------------------- Date: Fri, 16 Nov 2007 02:58:30 -0800 (PST) From: IanMiller Subject: Re: "Mysterious" system crashes Message-ID: <98ad0e9c-75bc-4ce5-9f53-5399819783c5@v4g2000hsf.googlegroups.com> look in the errorlog as crashes should show as bug check and startup entries ------------------------------ Date: Fri, 16 Nov 2007 06:35:30 -0500 From: bradhamilton Subject: Re: "Mysterious" system crashes Message-ID: <473D8082.8090306@comcast.net> IanMiller wrote: > look in the errorlog as crashes should show as bug check and startup > entries BTW - thanks for reminding me - DIAG is not installed (I can't use WEBES or such, because of the age of the system). ISTR that I've attempted to install DIAG in the past, and met with failure, perhaps because of my status as a hobbyist - wasn't DIAG "crippled" in some major way because of the lack of a license (which implies a service contract)? I'll hunt around to see if I still have a DIAA kit hanging around somewhere. ------------------------------ Date: Fri, 16 Nov 2007 06:49:48 -0500 From: bradhamilton Subject: Re: "Mysterious" system crashes Message-ID: <473D83DC.7040706@comcast.net> IanMiller wrote: > look in the errorlog as crashes should show as bug check and startup > entries Thanks for the reminder - DIAG installed OK, but isn't telling me much... **** V3.4 ********************* ENTRY 119 ******************************** Logging OS 1. OpenVMS System Architecture 2. Alpha OS version V8.3 Event sequence number 20. Timestamp of occurrence 15-NOV-2007 17:04:03 Time since reboot 0 Day(s) 20:41:11 Host name RABBIT System Model Digital Personal WorkStation Entry Type 38. Time Stamp Entry SWI Minor class 7. Timestamp **** V3.4 ********************* ENTRY 120 ******************************** Logging OS 1. OpenVMS System Architecture 2. Alpha OS version V8.3 Event sequence number 0. Timestamp of occurrence 15-NOV-2007 17:12:24 Time since reboot 0 Day(s) 0:00:16 Host name RABBIT System Model Digital Personal WorkStation Entry Type 32. Cold Start (ie: System Boot) SWI Minor class 2. System startup TODR xB4225913 ..unless xB4225913 can be translated to read, "power spike or transient, don't *do* that, it hurts..." :-) ------------------------------ Date: Fri, 16 Nov 2007 12:00:12 GMT From: VAXman- @SendSpamHere.ORG Subject: Re: "Mysterious" system crashes Message-ID: In article <473CF41C.1060500@comcast.net>, bradhamilton writes: > > >Richard B. Gilbert wrote: >[...] >> Do you have a dump file? SYS$SYSTEM:SYSDUMP.DMP >> Is a dump being written to it? > >RABBIT::SYSTEM$ dir/dat=(cre,mod) sys$system:sysdump.dmp > >Directory SYS$SYSROOT:[SYSEXE] > >SYSDUMP.DMP;2 245215/245248 28-DEC-2002 23:33:40.29 >12-NOV-2006 22:20 >:02.28 > >Not for a year or so... > >> Note that your family might not even notice a "power glitch" that could >> cause a computer to reboot. > >True. > >After the second question this evening, my wife asked, "No we haven't >had a power problem - why? Are you expecting one??" :-) > >She always gets a glazed-over look in her eye when my explanations are >too detailed or technical, so I've learned to keep my questions (and >answers) simple. :-) :-) > >> Invest in a UPS. Small units, suitable for PCs and workstations can >> frequently be found at flea markets or yard sales. I've seen them up to >> 1000 VA. If you buy used you may have to replace the battery which, >> depending on the size of the unit, may cost you anywhere from $25 to >> $100 US. Note that automobile batteries are NOT suitable for this >> service!!! > >Yes, I've thought about the "small" APC units that I see for sale at HW >stores, but I've never experienced these problems until this week, so I >never saw a need for one. I guess I'll price some units (keeping in >mind that I need to match capacity with my estimated power draw from the >CPU, disks and disk shelves). My wife keeps asking me what I want for >Yule - perhaps I have a legitimate need... I have written and I have been selling (no, it hasn't made me wealthy) software for VMS and APC's UPS units. I often do not see glitches in line power that the APC and the software report. I can be working and, if not for the email reports I have the software report, I would never know there was a power event. FWIW, get: APC's Smart UPS --------------- APC's Back UPS -- VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" http://tmesis.com/drat.html ------------------------------ Date: Fri, 16 Nov 2007 12:08:59 GMT From: VAXman- @SendSpamHere.ORG Subject: Re: "Mysterious" system crashes Message-ID: In article <9fb3d$473d39d1$cef8887a$31145@TEKSAVVY.COM>, JF Mezei writes: > > >bradhamilton wrote: >> Assuming my suspicion is correct, why did this only start happening a >> few days ago? We've been running the heater in that "pattern" for a >> month or so now... > >Do you have an electronic voltage meter for AC lines ? Utilities >sometimes drop voltages when the power load is very high as this reduces >demand. (although this is not true for compact fluorescent and switched >power supplies, but was true of incadescent, ovens and conventional >electric heating). The software I wrote about in previous post in this thread can show the voltage as monitored off of an APC Smart-UPS (or better) UPS. I have, during the long hot spells of summer, seem the line voltage in my area drop in excess of 10% nominal line voltage. I have my Smart-UPS 'trip' when the voltage drops below 106Vac (with 117Vac being nominal voltage) to provide the proper line voltage to my equipment. -- VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" http://tmesis.com/drat.html ------------------------------ Date: Fri, 16 Nov 2007 08:09:51 -0500 From: Robert Deininger Subject: Re: "Mysterious" system crashes Message-ID: In article <473D0765.2050904@comcast.net>, bradhamilton wrote: > Robert Deininger wrote: > > In article <473CF41C.1060500@comcast.net>, > > bradhamilton wrote: > > > >> Richard B. Gilbert wrote: > >> [...] > >>> Do you have a dump file? SYS$SYSTEM:SYSDUMP.DMP > >>> Is a dump being written to it? > >> RABBIT::SYSTEM$ dir/dat=(cre,mod) sys$system:sysdump.dmp > >> > >> Directory SYS$SYSROOT:[SYSEXE] > >> > >> SYSDUMP.DMP;2 245215/245248 28-DEC-2002 23:33:40.29 > >> 12-NOV-2006 22:20 > >> :02.28 > >> > >> Not for a year or so... > > > > Dunno if the modification date on the file is a good indicator. > > > > Use ANALYZE/CRASH to see what, if anything, is in the dump file. > > Hi Robert, > > Just an old crash from July of this year (unrelated). > See my latest post in this thread for a possible hypothesis... > [...] Unless you force a crash, and actually see the resulting crash dump in the dump file, you can't rule out a configuration error. (See the System Manager's Manual for advice on dump files and forcing a crash.) This is 5 or 10 minutes work, and should be standard procedure whenever VMS has been installed, upgraded, or reconfigured. Another useful diagnostic in your situation would be a serial console, connected to something that can log all the output. You might be getting some useful information from the FW or from VMS, but if you have a graphics console, and automatically reboot, the output will be gone by the time you get home. -- Robert ------------------------------ Date: 16 Nov 2007 07:51:56 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: "Mysterious" system crashes Message-ID: In article <473CD50D.70109@comcast.net>, bradhamilton writes: > > These crashes happen while I am away at work, so I guess the system > misses me. :-) They do not happen at the same time each day, and > questioning of family members that are home at the time reveal no > unusual "power" glitches. > What does analyze/crash sys$system:sysdump.dmp first report? Minor power glitches, too small to be seen by most consumer electronics, can disturb older VAXen. ------------------------------ Date: 16 Nov 2007 07:58:40 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: "Mysterious" system crashes Message-ID: In article <473CF41C.1060500@comcast.net>, bradhamilton writes: > > SYSDUMP.DMP;2 245215/245248 28-DEC-2002 23:33:40.29 > 12-NOV-2006 22:20 > :02.28 > The system crash code doesn't mess with anything it doesn't absolutely have to. Ignore the dates. ------------------------------ Date: Fri, 16 Nov 2007 11:27:58 -0500 From: "Richard B. Gilbert" Subject: Re: "Mysterious" system crashes Message-ID: <473DC50E.8030903@comcast.net> VAXman- wrote: > In article <473CF41C.1060500@comcast.net>, bradhamilton writes: > >> >>Richard B. Gilbert wrote: >>[...] >> >>>Do you have a dump file? SYS$SYSTEM:SYSDUMP.DMP >>>Is a dump being written to it? >> >>RABBIT::SYSTEM$ dir/dat=(cre,mod) sys$system:sysdump.dmp >> >>Directory SYS$SYSROOT:[SYSEXE] >> >>SYSDUMP.DMP;2 245215/245248 28-DEC-2002 23:33:40.29 >>12-NOV-2006 22:20 >>:02.28 >> >>Not for a year or so... >> >> >>>Note that your family might not even notice a "power glitch" that could >>>cause a computer to reboot. >> >>True. >> >>After the second question this evening, my wife asked, "No we haven't >>had a power problem - why? Are you expecting one??" :-) >> >>She always gets a glazed-over look in her eye when my explanations are >>too detailed or technical, so I've learned to keep my questions (and >>answers) simple. :-) :-) >> >> >>>Invest in a UPS. Small units, suitable for PCs and workstations can >>>frequently be found at flea markets or yard sales. I've seen them up to >>>1000 VA. If you buy used you may have to replace the battery which, >>>depending on the size of the unit, may cost you anywhere from $25 to >>>$100 US. Note that automobile batteries are NOT suitable for this >>>service!!! >> >>Yes, I've thought about the "small" APC units that I see for sale at HW >>stores, but I've never experienced these problems until this week, so I >>never saw a need for one. I guess I'll price some units (keeping in >>mind that I need to match capacity with my estimated power draw from the >>CPU, disks and disk shelves). My wife keeps asking me what I want for >>Yule - perhaps I have a legitimate need... > > > I have written and I have been selling (no, it hasn't made me wealthy) > software for VMS and APC's UPS units. I often do not see glitches in > line power that the APC and the software report. I can be working and, > if not for the email reports I have the software report, I would never > know there was a power event. > > FWIW, get: > > APC's Smart UPS > --------------- > APC's Back UPS > > FWIW, many years ago at Princeton University we had a small UPS supporting a PDP11. It had an alphanumeric display on which it reported all power "events". The power grid in Princeton didn't QUITE date back to Thomas Edison and the display showed dozens of events per day; e.g. brownouts, dropouts, etc. Most lasted for less than one second (much less). Of course there was the time when some asshole connected a five hundred ampere load to a 300 ampere circuit. . . . The circuit breaker exploded (literally) and we were down for a little more than 24 hours while the mess was cleaned up and the circuit breaker replaced. I believe that the APC "Smart UPS" conditions power in the sense that it will maintain rated voltage during a brownout. The "BackUPS" is cheaper and somewhat less functional. Since I have computers hidden all over the house (2 VAX, 2 Alpha, 4 Sun, three desktop PCs, and a Laptop), I have six UPSs of various sizes. We never notice when the power company burps and we have time to get a clean shutdown when the power goes out for real. Three are "trash picks", one was purchased at a yard sale, one at the "Trenton Computer Festival" and one from CompUSA. All but the one purchased "New" required replacement batteries. ------------------------------ Date: Fri, 16 Nov 2007 17:06:21 GMT From: VAXman- @SendSpamHere.ORG Subject: Re: "Mysterious" system crashes Message-ID: In article <473DC50E.8030903@comcast.net>, "Richard B. Gilbert" writes: {..snip...} >I believe that the APC "Smart UPS" conditions power in the sense that it >will maintain rated voltage during a brownout. The "BackUPS" is cheaper > and somewhat less functional. Since I have computers hidden all over >the house (2 VAX, 2 Alpha, 4 Sun, three desktop PCs, and a Laptop), I >have six UPSs of various sizes. We never notice when the power company >burps and we have time to get a clean shutdown when the power goes out >for real. Three are "trash picks", one was purchased at a yard sale, >one at the "Trenton Computer Festival" and one from CompUSA. All but >the one purchased "New" required replacement batteries. When were you last at the Trenton Computer Festival? I went to one many years ago. If you go again, let me know so we can meet up. Back to the topic. The Smart-UPS have an upper and lower transfer voltage at which points the UPS will provide power to the load if exceeded. The Smart-UPS units do not run full-time to provide conditioned power. I do believe that that feature is avainable in their bigger (Symmetra) units. -- VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" http://tmesis.com/drat.html ------------------------------ Date: Fri, 16 Nov 2007 09:29:49 -0800 (PST) From: Volker Halle Subject: Re: "Mysterious" system crashes Message-ID: <9d67ff47-18a5-4157-9d81-fb21677c1ef9@b32g2000hsa.googlegroups.com> Brad, what's the setting of the console environment variable AUTO_ACTION ? $ WRITE SYS$OUTPUT F$GETENV("AUTO_ACTION") If it's set to HALT, the system would remain on the console prompt after a powerfail. If it's set to BOOT, the system will boot after a powerfail OR an unexpected HALT instruction issued in kernel mode. If it's set to RESTART, the system will restart after an unexpected HALT, but write a restart-crash ! And it will boot after a powerfail (if memory contents has not been preserved). For maximum availability and troubleshooting information, consider setting >>> set auto_action restart To make sure your dumpfile setup is correct and works, try forcing a system crash. Type CTRL-P at the console or press the HALT button, to get the the console prompt (>>>). Then type >>> CRASH and watch the system write the dump and boot. If all goes well, ther WILL be a CLUE file and an entry in CLUE$HISTORY afterwards... Volker. ------------------------------ Date: Fri, 16 Nov 2007 13:01:20 -0500 From: "Richard B. Gilbert" Subject: Re: "Mysterious" system crashes Message-ID: <473DDAF0.1010001@comcast.net> VAXman- wrote: > In article <473DC50E.8030903@comcast.net>, "Richard B. Gilbert" writes: > {..snip...} > >>I believe that the APC "Smart UPS" conditions power in the sense that it >>will maintain rated voltage during a brownout. The "BackUPS" is cheaper >> and somewhat less functional. Since I have computers hidden all over >>the house (2 VAX, 2 Alpha, 4 Sun, three desktop PCs, and a Laptop), I >>have six UPSs of various sizes. We never notice when the power company >>burps and we have time to get a clean shutdown when the power goes out >>for real. Three are "trash picks", one was purchased at a yard sale, >>one at the "Trenton Computer Festival" and one from CompUSA. All but >>the one purchased "New" required replacement batteries. > > > When were you last at the Trenton Computer Festival? I went to one many > years ago. If you go again, let me know so we can meet up. I've gone to just about every TCF in the last fifteen years. I saw a VAX-11/750 for sale one year (I didn't buy it.) I also saw a genuine Bazooka rocket launcher but didn't buy that either. I missed last year for some reason but will probably go next year. I used to go to the computer shows held at the Cherry Hill race track. What they are now holding at the armory are so pitiful as to be a complete waste of time. I'm about a mile from the spot where route 42 and the Atlantic City Express Way diverge. Where are you? ------------------------------ Date: Fri, 16 Nov 2007 18:07:45 GMT From: VAXman- @SendSpamHere.ORG Subject: Re: "Mysterious" system crashes Message-ID: In article <473DDAF0.1010001@comcast.net>, "Richard B. Gilbert" writes: > > >VAXman- wrote: >> In article <473DC50E.8030903@comcast.net>, "Richard B. Gilbert" writes: >> {..snip...} >> >>>I believe that the APC "Smart UPS" conditions power in the sense that it >>>will maintain rated voltage during a brownout. The "BackUPS" is cheaper >>> and somewhat less functional. Since I have computers hidden all over >>>the house (2 VAX, 2 Alpha, 4 Sun, three desktop PCs, and a Laptop), I >>>have six UPSs of various sizes. We never notice when the power company >>>burps and we have time to get a clean shutdown when the power goes out >>>for real. Three are "trash picks", one was purchased at a yard sale, >>>one at the "Trenton Computer Festival" and one from CompUSA. All but >>>the one purchased "New" required replacement batteries. >> >> >> When were you last at the Trenton Computer Festival? I went to one many >> years ago. If you go again, let me know so we can meet up. > >I've gone to just about every TCF in the last fifteen years. I saw a >VAX-11/750 for sale one year (I didn't buy it.) I also saw a genuine >Bazooka rocket launcher but didn't buy that either. > >I missed last year for some reason but will probably go next year. I >used to go to the computer shows held at the Cherry Hill race track. >What they are now holding at the armory are so pitiful as to be a >complete waste of time. > >I'm about a mile from the spot where route 42 and the Atlantic City >Express Way diverge. Where are you? Cool. I'm in Jackson. About 3 miles west of Rt-526 and Rt-9 and about 30 minutes east of Trenton via I-195 We were down in your area not too long ago to take my son to visit the Academy of Culinary Arts: http://www.atlantic.edu/ACA -- VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" http://tmesis.com/drat.html ------------------------------ Date: Fri, 16 Nov 2007 13:28:04 -0500 From: "Richard B. Gilbert" Subject: Re: "Mysterious" system crashes Message-ID: <473DE134.7040407@comcast.net> VAXman- wrote: > In article <473DDAF0.1010001@comcast.net>, "Richard B. Gilbert" writes: > >> >>VAXman- wrote: >> >>>In article <473DC50E.8030903@comcast.net>, "Richard B. Gilbert" writes: >>>{..snip...} >>> >>> >>>>I believe that the APC "Smart UPS" conditions power in the sense that it >>>>will maintain rated voltage during a brownout. The "BackUPS" is cheaper >>>>and somewhat less functional. Since I have computers hidden all over >>>>the house (2 VAX, 2 Alpha, 4 Sun, three desktop PCs, and a Laptop), I >>>>have six UPSs of various sizes. We never notice when the power company >>>>burps and we have time to get a clean shutdown when the power goes out >>>>for real. Three are "trash picks", one was purchased at a yard sale, >>>>one at the "Trenton Computer Festival" and one from CompUSA. All but >>>>the one purchased "New" required replacement batteries. >>> >>> >>>When were you last at the Trenton Computer Festival? I went to one many >>>years ago. If you go again, let me know so we can meet up. >> >>I've gone to just about every TCF in the last fifteen years. I saw a >>VAX-11/750 for sale one year (I didn't buy it.) I also saw a genuine >>Bazooka rocket launcher but didn't buy that either. >> >>I missed last year for some reason but will probably go next year. I >>used to go to the computer shows held at the Cherry Hill race track. >>What they are now holding at the armory are so pitiful as to be a >>complete waste of time. >> >>I'm about a mile from the spot where route 42 and the Atlantic City >>Express Way diverge. Where are you? > > > Cool. I'm in Jackson. About 3 miles west of Rt-526 and Rt-9 and > about 30 minutes east of Trenton via I-195 > > We were down in your area not too long ago to take my son to visit > the Academy of Culinary Arts: http://www.atlantic.edu/ACA > Well, if you expect to be in the area, drop me an e-mail and maybe we can get together without waiting for TCF. We have a little more in common than an interest in VMS. A1C for instance! :-) ------------------------------ Date: Fri, 16 Nov 2007 05:04:01 -0800 (PST) From: tadamsmar Subject: Converting serial I/O to ethernet I/O Message-ID: <4ff92e46-3b96-47b8-853e-dcb41bc2d357@f3g2000hsg.googlegroups.com> I maintain a VMS real-time app. that has a serial interfaces to analyzers. The latest version of the analyzers support network communications and we want to convert from serial to network. Any pointers on how to do it? I think it's a matter of making the right QIO calls, perhaps just revising or adding alternative QIO calls. ------------------------------ Date: Fri, 16 Nov 2007 05:28:58 -0800 (PST) From: Bob Gezelter Subject: Re: Converting serial I/O to ethernet I/O Message-ID: On Nov 16, 8:04 am, tadamsmar wrote: > I maintain a VMS real-time app. that has a serial interfaces to > analyzers. The latest version of the analyzers support network > communications and we want to convert from serial to network. > > Any pointers on how to do it? I think it's a matter of making the > right QIO calls, perhaps > just revising or adding alternative QIO calls. tadamsmar, It may be as simple as that, or a more extensive re-write. It depends on the actual interface specifications of the analyzers. In my career, I have seen both. I have seen devices just change from serial interfaces to say, a LAT or telnet scheme; and I have seen devices adopt completely different message formats, standards, and protocols. In the abstract, it is not possible to answer this question from the information in your post. It would require careful reading of the documentation for both the old analyzers and the new analyzers, and a review of the source code of the application. - Bob Gezelter, http://www.rlgsc.com ------------------------------ Date: Fri, 16 Nov 2007 13:31:58 +0000 (UTC) From: gartmann@nonsense.immunbio.mpg.de (Christoph Gartmann) Subject: Re: Converting serial I/O to ethernet I/O Message-ID: In article <4ff92e46-3b96-47b8-853e-dcb41bc2d357@f3g2000hsg.googlegroups.com>, tadamsmar writes: >I maintain a VMS real-time app. that has a serial interfaces to >analyzers. The latest version of the analyzers support network >communications and we want to convert from serial to network. > >Any pointers on how to do it? I think it's a matter of making the >right QIO calls, perhaps >just revising or adding alternative QIO calls. It is not that simple. The first question is: what ethernet protocol do the analyzers use? Most likely it is some sort of TCP/IP. Then you need to use the routines of the TCP/IP stack in use. Regards, Christoph Gartmann -- Max-Planck-Institut fuer Phone : +49-761-5108-464 Fax: -452 Immunbiologie Postfach 1169 Internet: gartmann@immunbio dot mpg dot de D-79011 Freiburg, Germany http://www.immunbio.mpg.de/home/menue.html ------------------------------ Date: 16 Nov 2007 08:04:05 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: Converting serial I/O to ethernet I/O Message-ID: In article <4ff92e46-3b96-47b8-853e-dcb41bc2d357@f3g2000hsg.googlegroups.com>, tadamsmar writes: > I maintain a VMS real-time app. that has a serial interfaces to > analyzers. The latest version of the analyzers support network > communications and we want to convert from serial to network. > > Any pointers on how to do it? I think it's a matter of making the > right QIO calls, perhaps > just revising or adding alternative QIO calls. Determine whether you have to work at the Ethernet level, TCP/IP level, or some other protocol level to talk to the analyzers. TCP/IP is the most likely. Read either the I/O Users Guide, or the TCP/IP programming manuals to figure out how to do this. Then rewrite (or at least modify) the code. ------------------------------ Date: Fri, 16 Nov 2007 06:06:05 -0800 (PST) From: tadamsmar Subject: Re: Converting serial I/O to ethernet I/O Message-ID: <96874356-8dd3-4000-81bd-fa43ca05128b@b32g2000hsa.googlegroups.com> On Nov 16, 8:28 am, Bob Gezelter wrote: > On Nov 16, 8:04 am, tadamsmar wrote: > > > I maintain a VMS real-time app. that has a serial interfaces to > > analyzers. The latest version of the analyzers support network > > communications and we want to convert from serial to network. > > > Any pointers on how to do it? I think it's a matter of making the > > right QIO calls, perhaps > > just revising or adding alternative QIO calls. > > tadamsmar, > > It may be as simple as that, or a more extensive re-write. It depends > on the actual interface specifications of the analyzers. > > In my career, I have seen both. I have seen devices just change from > serial interfaces to say, a LAT or telnet scheme; and I have seen > devices adopt completely different message formats, standards, and > protocols. > > In the abstract, it is not possible to answer this question from the > information in your post. It would require careful reading of the > documentation for both the old analyzers and the new analyzers, and a > review of the source code of the application. > > - Bob Gezelter,http://www.rlgsc.com The manual says it uses the the same commands over RS-232 and Ethernet. Over Ethernet, it uses TCP/IP and port 9880. ------------------------------ Date: Fri, 16 Nov 2007 06:28:03 -0800 (PST) From: Bob Gezelter Subject: Re: Converting serial I/O to ethernet I/O Message-ID: <5151a0dc-b892-42b0-b21b-7838b94b73f6@p69g2000hsa.googlegroups.com> On Nov 16, 9:06 am, tadamsmar wrote: > On Nov 16, 8:28 am, Bob Gezelter wrote: > > > > > On Nov 16, 8:04 am, tadamsmar wrote: > > > > I maintain a VMS real-time app. that has a serial interfaces to > > > analyzers. The latest version of the analyzers support network > > > communications and we want to convert from serial to network. > > > > Any pointers on how to do it? I think it's a matter of making the > > > right QIO calls, perhaps > > > just revising or adding alternative QIO calls. > > > tadamsmar, > > > It may be as simple as that, or a more extensive re-write. It depends > > on the actual interface specifications of the analyzers. > > > In my career, I have seen both. I have seen devices just change from > > serial interfaces to say, a LAT or telnet scheme; and I have seen > > devices adopt completely different message formats, standards, and > > protocols. > > > In the abstract, it is not possible to answer this question from the > > information in your post. It would require careful reading of the > > documentation for both the old analyzers and the new analyzers, and a > > review of the source code of the application. > > > - Bob Gezelter,http://www.rlgsc.com > > The manual says it uses the the same commands over RS-232 and > Ethernet. Over Ethernet, it uses TCP/IP and port 9880. tadamsmar, Then, as Bob Koehler has pointed out, one needs the programming models for the particular IP stack that is being used. In a very high level way, the sequence of processing will be different, but the mechanisms will be dramatically different. The routines to manage a TCP connection are subroutines with their own inherent semantics. There is also a QIO interface to TCP, but a reliable product is not a simple substitution of one set of QIOs for another. - Bob Gezelter, http://www.rlgsc.com ------------------------------ Date: Fri, 16 Nov 2007 14:41:41 GMT From: VAXman- @SendSpamHere.ORG Subject: Re: Converting serial I/O to ethernet I/O Message-ID: In article <96874356-8dd3-4000-81bd-fa43ca05128b@b32g2000hsa.googlegroups.com>, tadamsmar writes: > > >On Nov 16, 8:28 am, Bob Gezelter wrote: >> On Nov 16, 8:04 am, tadamsmar wrote: >> >> > I maintain a VMS real-time app. that has a serial interfaces to >> > analyzers. The latest version of the analyzers support network >> > communications and we want to convert from serial to network. >> >> > Any pointers on how to do it? I think it's a matter of making the >> > right QIO calls, perhaps >> > just revising or adding alternative QIO calls. >> >> tadamsmar, >> >> It may be as simple as that, or a more extensive re-write. It depends >> on the actual interface specifications of the analyzers. >> >> In my career, I have seen both. I have seen devices just change from >> serial interfaces to say, a LAT or telnet scheme; and I have seen >> devices adopt completely different message formats, standards, and >> protocols. >> >> In the abstract, it is not possible to answer this question from the >> information in your post. It would require careful reading of the >> documentation for both the old analyzers and the new analyzers, and a >> review of the source code of the application. >> >> - Bob Gezelter,http://www.rlgsc.com > > >The manual says it uses the the same commands over RS-232 and >Ethernet. Over Ethernet, it uses TCP/IP and port 9880. It could be as simple as telnet to port 9880. You might even try to see if you get a server response when you issue $ TELNET/PORT=9880 analyzer-address If you use the BG $QIO interface for your TCP/IP communications, you will be able to use your product with any one of the 3 supported TCP/IP stacks for VMS. I've written an entire library of "socket" routines which invoke the BG $QIO interface making it easier to port TCP/IP apps and insure that they will function on VMS with any one of the 3 TCP/IP stacks. -- VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" http://tmesis.com/drat.html ------------------------------ Date: Fri, 16 Nov 2007 14:32:54 +0000 From: Tom Wade Subject: Re: Getting Fortran to read CTRL/Z in a file as data Message-ID: <7Oh%i.23234$j7.435210@news.indigo.ie> > What is OPEN statement for this file? In particular, what options are > you using to read this file? Pretty minimal: Open (1, name='INPUT', readonly, status='old') --------------------------------------------------------- Tom Wade | EMail: tee dot wade at eurokom dot ie EuroKom | Tel: +353 (1) 296-9696 A2, Nutgrove Office Park | Fax: +353 (1) 296-9697 Rathfarnham | Disclaimer: This is not a disclaimer Dublin 14 | Tip: "Friends don't let friends do Unix !" Ireland ------------------------------ Date: Fri, 16 Nov 2007 14:34:37 +0000 From: Tom Wade Subject: Re: Getting Fortran to read CTRL/Z in a file as data Message-ID: > After the fortran read has seen the EOF, try to read the next line. If > that also is EOF, you found the real EOF (or the second ^Z in > succession). > If the next read gets normal data you can go on reading the file Yes, this certainly works. The problem is when you hit two or more CTRL/Zs in successive lines. How many EOFs do you take to be definitive? --------------------------------------------------------- Tom Wade | EMail: tee dot wade at eurokom dot ie EuroKom | Tel: +353 (1) 296-9696 A2, Nutgrove Office Park | Fax: +353 (1) 296-9697 Rathfarnham | Disclaimer: This is not a disclaimer Dublin 14 | Tip: "Friends don't let friends do Unix !" Ireland ------------------------------ Date: 16 Nov 2007 11:03:14 -0600 From: briggs@encompasserve.org Subject: Re: Getting Fortran to read CTRL/Z in a file as data Message-ID: In article , Tom Wade writes: > >> After the fortran read has seen the EOF, try to read the next line. If >> that also is EOF, you found the real EOF (or the second ^Z in >> succession). >> If the next read gets normal data you can go on reading the file > > Yes, this certainly works. The problem is when you hit two or more > CTRL/Zs in successive lines. How many EOFs do you take to be definitive? Use ERRSNS. INTEGER io-err, sys-err, stat, unit, cond ... CALL ERRSNS ([io-err] [,sys-err] [,stat] [,unit] [,cond]) After an EOF (real or fake), io-err will be 24. After a fake EOF, sys-err will be 0. After a real EOF, sys-err will be 98938 (RMS$_EOF) ------------------------------ Date: 16 Nov 2007 11:41:28 -0600 From: briggs@encompasserve.org Subject: Re: Getting Fortran to read CTRL/Z in a file as data Message-ID: In article , briggs@encompasserve.org writes: > Use ERRSNS. > > INTEGER io-err, sys-err, stat, unit, cond > ... > CALL ERRSNS ([io-err] [,sys-err] [,stat] [,unit] [,cond]) > > After an EOF (real or fake), io-err will be 24. After a fake EOF, > sys-err will be 0. After a real EOF, sys-err will be 98938 (RMS$_EOF) Following up my own post, here's proof of concept code: $ type test.for options /extend_source implicit none integer recl character *512 record character *8 pos integer ios, ioerr, syserr open ( unit=1, file='test.txt', status='old' ) do while ( .true. ) read ( 1, '(q,a)', iostat=IOS ) recl, record(1:recl) if ( ios .ne. 0 ) then call errsns ( ioerr, syserr ) if ( ioerr .ne. 24 ) then stop 'Fatal I/O error' else if ( syserr .ne. 0 ) then go to 999 ! Real end of file else ! Fake end-of-file with control-Z record recl = 1 record(1:1) = char(26) end if end if type *, recl, record(1:recl) end do 999 continue ! Get here on actual physical EOF end $ type test.txt abc fdsa ? asdf $ r test 3 abc 4 fdsa 1 ? 4 asdf [The question mark is actually a control-Z] ------------------------------ Date: Fri, 16 Nov 2007 12:21:21 +0000 (UTC) From: david20@alpha2.mdx.ac.uk Subject: Re: Is VMS 8.3 available for hobbyist users and can it be installed on amd64 ( a Message-ID: In article <13jq10a6pj392f0@corp.supernews.com>, "Michael D. Ober" writes: >IA64 is the Itanium family of processors. The AMD64 is based on the Intel >386 and the Intel x64 instruction set. So no, VMS will not run on an AMD64 >processor. > That statement needs qualifying just slightly. VMS will not run natively on AMD64. However you can run an emulator on AMD64 which will emulate VAX (or Alpha) hardware and then you can run VMS on this emulated hardware. There are commercial emulators CHARONVAX, CHARONAXP (and last time I looked restricted - in terms of emulated memory and diskspace - hobbyist/free versions) see http://www.softresint.com/charon-vax/index.htm and http://www.softresint.com/charon-axp/index.htm and http://www.softresint.com/charon-axp/downloads.htm and public domain software eg SIMH see http://simh.trailing-edge.com/ and http://www.wherry.com/gadgets/retrocomputing/vax-simh.html David Webb Security team leader CCSS Middlesex University PS. "The AMD64 is based on the Intel 386 and the Intel x64 instruction set" has things slightly backwards with respect to the instruction set. AMD extended the Intel 32bit instruction set and Intel were then forced to pretty much adopt those extensions for it's own x64 bit chips. >Mike. > >"siju" wrote in message >news:6bd248a2-fb26-4506-aa35-6ba42c6f3ff2@l22g2000hsc.googlegroups.com... >> Hi, >> >> The last time I checked >> >> http://groups.google.com/group/comp.os.vms/browse_thread/thread/9afeaa57bafb66b/7434358826b1a9e6?lnk=st&q=simh#7434358826b1a9e6 >> >> OpenVMS was not download able from any where. >> has this changed recently? >> >> Can hobbyist users get version 8.3 and can it be installed on amd64 >> since it runs on IA64? >> >> Is there anybody here from India? who could lend me the hobbyist CD? >> >> Thank you so much >> >> Kind Regards >> >> Siju >> >> > > ------------------------------ Date: Fri, 16 Nov 2007 12:24:46 +0100 From: Martin Vorlaender Subject: Re: Mylex 960 question Message-ID: <5q5cvuFu5qnvU1@mid.individual.net> Hans, [RA200RCU.EXE on the firmware CD] H Vlems wrote: > Martin Vorlaender wrote: >> The contents of the "Path" text field should be something like >> "\utilities\swxcr\ra200rcu.exe". >> >> Disclaimer: all of this is from memory. > > Martin, thanks for the hint. I will check that and post the results. Just had a look - the path is "\utility\swxcrmgr\ra200rcu.exe". Close... cu, Martin -- One OS to rule them all | Martin Vorlaender | OpenVMS rules! One OS to find them | work: mv@pdv-systeme.de One OS to bring them all | http://www.pdv-systeme.de/users/martinv/ And in the Darkness bind them.| home: martin@radiogaga.harz.de ------------------------------ Date: Fri, 16 Nov 2007 14:53:57 +0100 From: ss Subject: Re: Need help with TCPIP V5.1 configuration Message-ID: Hi... When i managed to interrupt the tcpip$startup betimes, i found out that it has left those two .DAT files: $ TYPE SYS$STARTUP:TCPIP$STARTUP_ORDER.DAT tcpip$bind tcpip$proxy tcpip$portmapper These must be the hardcoded services you have mentioned two posts ago. $ TYPE SYS$STARTUP:TCPIP$SERVICES_LIST.DAT BIND BOOTP DHCP DHCP_CLIENT FINGER FTP FTP_CLIENT INET_DRIVER LBROKER LOCKD LPD METRIC NFS NFS_CLIENT NTP PCNFS POP PORTMAPPER PWIP_DRIVER REXEC RLOGIN RMT RSH SMTP SNMP STATD TELNET TELNETSYM TFTP XDM MOUNT PROXY I didnīt find the TCPIP$STARTUP.LOG i should have a look at, could you tell me where i can find it? Or do i need to enable some option first? When i spawned the process with the logging option: $ spawn/nowait/output=log.file @sys$startup:tcpip$startup.com %DCL-S-SPAWNED, process SYSTEM_1 spawned [OPCOM messages sniped; hangs afterwards] the log file is empty afterwards: $ DIR /SIZE LOG.FILE Directory SYS$SYSROOT:[SYSMGR] LOG.FILE;11 0 LOG.FILE;10 0 [...] LOG.FILE;2 1 LOG.FILE;1 1 Total of 11 files, 5 blocks. 5 files with a one line content are caused by myself by playing around with the spawn/submit command. But i found out about startup.comīs DEBUG option: $ @SYS$STARTUP:TCPIP$STARTUP DEBUG %TCPIP-I-INFO, image SYS$MESSAGE:TCPIP$MSG.EXE installed %TCPIP-I-INFO, image SYS$SHARE:TCPIP$ACCESS_SHR.EXE installed %TCPIP-I-INFO, image SYS$SHARE:UCX$ACCESS_SHR.EXE installed %TCPIP-I-INFO, image SYS$SHARE:TCPIP$IPC_SHR.EXE installed %TCPIP-I-INFO, image SYS$SHARE:UCX$IPC_SHR.EXE installed %TCPIP-I-INFO, image SYS$SHARE:TCPIP$RPCXDR_SHR.EXE installed %TCPIP-I-INFO, image SYS$SHARE:UCX$RPCXDR_SHR.EXE installed %TCPIP-I-INFO, image SYS$SHARE:TCPIP$CFS_SHR.EXE installed %TCPIP-I-INFO, image SYS$SYSTEM:TCPIP$PING.EXE installed %TCPIP-I-INFO, image SYS$SYSTEM:TCPIP$UCP.EXE installed %TCPIP-I-INFO, database TCPIP$CONFIGURATION installed %TCPIP-I-INFO, database TCPIP$HOST installed %TCPIP-I-INFO, database TCPIP$NETWORK installed %TCPIP-I-INFO, database TCPIP$PROXY installed %TCPIP-I-INFO, database TCPIP$ROUTE installed %TCPIP-I-INFO, database TCPIP$SERVICE installed %TCPIP-S-STARTDONE, TCPIP$UCP startup completed %TCPIP-I-INFO, TCP/IP Services startup beginning at 15-NOV-2007 16:39:37.83 %TCPIP-I-NORMAL, timezone information verified %TCPIP-I-INFO, image SYS$SYSTEM:TCPIP$DHCP_CLIENT.EXE installed %TCPIP-I-INFO, driver SYS$LOADABLE_IMAGES:TCPIP$BGDRIVER.EXE loaded %TCPIP-I-INFO, BG driver loaded %%%%%%%%%%% OPCOM 15-NOV-2007 16:39:44.74 %%%%%%%%%%% Message from user INTERnet on SIMVAX INTERnet Loaded %RUN-S-PROC_ID, identification of created process is 00000212 %TCPIP-I-INFO, INETACP process (pid=00000212) created %TCPIP-I-INFO, driver SYS$LOADABLE_IMAGES:TCPIP$TNDRIVER.EXE loaded %TCPIP-I-INFO, TN driver loaded %TCPIP-I-SETLOCAL, setting domain and/or local host %TCPIP-I-STARTCOMM, starting communication %%%%%%%%%%% OPCOM 15-NOV-2007 16:39:50.29 %%%%%%%%%%% Message from user INTERnet on SIMVAX INTERnet Started %TCPIP-I-SETPROTP, setting protocol parameters %TCPIP-I-DEFINTE, defining interfaces %%%%%%%%%%% OPCOM 15-NOV-2007 16:39:52.34 %%%%%%%%%%% Message from user INTERnet on SIMVAX INTERnet ACP Created INTERnet interface: QE0 %TCPIP-I-STARTNAME, starting name service %TCPIP-I-INFO, TCP/IP network started %%%%%%%%%%% OPCOM 15-NOV-2007 16:39:57.44 %%%%%%%%%%% Message from user Proxy Server on SIMVAX Loading proxy server image TCPIP$PROXY_SERVICES [fin] Tried some more things: $ TCPIP SHOW ROUTE %TCPIP-E-ROUTEERROR, error processing route request -TCPIP-E-NOFILE, cannot access TCPIP$ROUTE database file -RMS-E-FNF, file not found $ TCPIP SHOW NETWORK %TCPIP-E-NETWORKERROR, error processing network request -TCPIP-E-NOFILE, cannot access TCPIP$NETWORK database file -RMS-E-FNF, file not found TCPIP> SHOW ROUTE %TCPIP-E-ROUTEERROR, error processing route request -TCPIP-E-NOFILE, cannot access TCPIP$ROUTE database file -RMS-E-FNF, file not found TCPIP> SHOW NETWORK %TCPIP-E-NETWORKERROR, error processing network request -TCPIP-E-NOFILE, cannot access TCPIP$NETWORK database file -RMS-E-FNF, file not found TCPIP> $ TCPIP CREATE ROUTE $ TCPIP CREATE NETWORK $ TCPIP TCPIP> SHOW NETWORK %TCPIP-E-NETWORKERROR, error processing network request -TCPIP-W-NORECORD, information not found -RMS-E-RNF, record not found TCPIP> SHOW ROUTE %TCPIP-E-HOSTERROR, cannot process host request -TCPIP-E-NOFILE, cannot access TCPIP$HOST database file -RMS-E-FNF, file not found if the host is missing: TCPIP>CREATE HOST TCPIP> SHOW NETWORK %TCPIP-E-NETWORKERROR, error processing network request -TCPIP-W-NORECORD, information not found -RMS-E-RNF, record not found TCPIP> SHOW ROUTE %TCPIP-E-ROUTEERROR, error processing route request -TCPIP-W-NORECORD, information not found TCPIP> SHOW HOST LOCAL database Host address Host name 127.0.0.1 LOCALHOST, localhost TCPIP> I guess the records stay empty īcause they normally would get configured by the TCPIP$CONFIG tool, which canīt finish itīs job in my case?! Anyway, running it afterwards, showed the same effect as usual. Routed and Gated are not enabled, i also tried adding a static route. -Sascha ------------------------------ Date: Fri, 16 Nov 2007 01:53:32 -0800 (PST) From: Rob Subject: Re: Status of the VMS Hobbyist media kit(s) ? Message-ID: On Nov 15, 2:25 pm, Jan-Erik S=F6derholm wrote: > Hi. > Just a quickie... > > Anyone know the current status of the VMS > Hobbyist media CD ? Is it orderable ? > > HP is asking aprox $1000 USD localy over here > in Sweden for a LP-kit... > > Jan-Erik. Jan-Erik, you can probably get the hobby kits from the UK HP User Group (hpug.org.uk). Rob. ------------------------------ Date: Fri, 16 Nov 2007 02:56:05 -0800 (PST) From: IanMiller Subject: Re: Status of the VMS Hobbyist media kit(s) ? Message-ID: questions about the hobbyist program may get quicker answers on the hobbyist forums http://www.openvmshobbyist.org/phpbb2/index.php However I know that a VMS V8.3 CD is being tried out. Contact the hobbyist site directly and ask. ------------------------------ Date: Fri, 16 Nov 2007 11:33:58 GMT From: =?ISO-8859-1?Q?Jan-Erik_S=F6derholm?= Subject: Re: Status of the VMS Hobbyist media kit(s) ? Message-ID: Hi again. I've got access to the install kits I needed thanks to tips/links sent to me on where to find them... Thanks everyone. B.t.w, Steven M. Schweda did "something" and my mails reached him later on. Best Regards, Jan-Erik. ------------------------------ Date: 16 Nov 2007 07:21:24 -0600 From: Kilgallen@SpamCop.net (Larry Kilgallen) Subject: Re: system constants in COBOL Message-ID: In article , John Santos writes: > I could have set device_naming SYSGEN to 8 (to force a wrap at > 32767, but we use lots of devices :-), and I really didn't want > to disable this. That is all well and good, but modifying SYSGEN parameters does not work for cases where the entity writing the code ships it out to independent using entities (sometimes called "customers") who may have their own reasons for SYSGEN parameter settings. > Should I SPR this? In my opinion, yes. ------------------------------ Date: 16 Nov 2007 07:35:15 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: system constants in COBOL Message-ID: In article <2c9e47bd-dd4d-4da9-9b62-9ec0deda8fde@w34g2000hsg.googlegroups.com>, Hein RMS van den Heuvel writes: > > So what? You just generate it once, and be happy. Since $IODEF changed, what part of "generate it once" would have made me happy? > The constants defined in say DVIDEF are NOT going to change. > > They can not. Too many executables out there with those constants > embedded. I had IO$_REWIND in my code, and therefor linked into my executable. It changed. I followed the documented process when I wrote the code and again when the release notes said it changed. That made me happy. > > Sometimes a shortcut is perfectly safe. And I have demonstrated from experience that this shortcut is not. ------------------------------ Date: 16 Nov 2007 07:39:00 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: system constants in COBOL Message-ID: In article , brooks@cuebid.zko.hp.nospam (Rob Brooks) writes: > > While I do know of some things that have changed within STARLET (specifically, > an undocumented system service changing its arguments), I'd be really surprised > if a documented and supported constant or offset defined in STARLET has changed > from release to release. Pull out your VMS 3.0 Release Notes. I think that was when $IODEF changed. $IODEF is in STARLET. Yes, I know this is the kind of thing VMS Engineering tries not to do, and they've been very good at it. I've also earned a lot of money fixing things that didn't follow documented processes and APIs, money the customer shouldn't have needed to spend. Your tax dollars at work, unecessarily. ------------------------------ Date: 16 Nov 2007 07:44:43 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: system constants in COBOL Message-ID: In article , Hein RMS van den Heuvel writes: > > But these lame cobol programs stick it into an '88' and let the linker > fill in the value. > That will increase the code size slightly (notably for values like 0 > and 1, less so for RMS$_FNF) > What is worse the extra code will be a memory reference. > Yeah, sure, a good compiler can reduce the size of the literal pool. I've work with embedded systems with 64K word memory, and worry about each word there. But for general purpose computing (timesharing, realtime, but not embedded), those few bytes I wouldn't miss on my 4MB 11/780. ------------------------------ Date: 16 Nov 2007 07:46:32 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: system constants in COBOL Message-ID: <9j4QgGi0FsIk@eisner.encompasserve.org> In article , John Santos writes: > > Should I SPR this? I would, if it was my code and I had a support contract. ------------------------------ Date: Fri, 16 Nov 2007 06:38:56 -0800 (PST) From: Hein RMS van den Heuvel Subject: Re: system constants in COBOL Message-ID: On Nov 16, 7:35 am, koeh...@eisner.nospam.encompasserve.org (Bob Koehler) wrote: > In article <2c9e47bd-dd4d-4da9-9b62-9ec0deda8...@w34g2000hsg.googlegroups.com>, Hein RMS van den Heuvel writes: > > So what? You just generate it once, and be happy. > > Since $IODEF changed, what part of "generate it once" would have > made me happy? : > I had IO$_REWIND in my code, and therefor linked into my executable. > It changed. I can not believe the value for IO$_REWIND has ever changed. $IODEF has changed. Certainly. No problem with that. But only in the sense of adding stuff. If a program needs the added value then you either add the new value in the code as before, or re-generate. No biggie. > I followed the documented process when I wrote the code > and again when the release notes said it changed. That made me happy. Sounds convincing, but I still do not believe it. Out of curiousity, what OpenVMS version? V1.5? Hein. ------------------------------ Date: Fri, 16 Nov 2007 06:46:12 -0800 From: "Tom Linden" Subject: Re: system constants in COBOL Message-ID: On Fri, 16 Nov 2007 05:46:32 -0800, Bob Koehler wrote: > In article , John Santos > writes: >> >> Should I SPR this? > > I would, if it was my code and I had a support contract. > Indeed. I have seen a number of posts in the past year (including my recent on grant_license) which stem from SDL sloppiness. It may be difficult to may be tedious to make SDL shipshape at this point after a number of years of neglect. -- PL/I for OpenVMS www.kednos.com ------------------------------ Date: Fri, 16 Nov 2007 06:55:53 -0800 (PST) From: Hein RMS van den Heuvel Subject: Re: system constants in COBOL Message-ID: On Nov 16, 7:44 am, koeh...@eisner.nospam.encompasserve.org (Bob Koehler) wrote: > In article , Hein RMS van den Heuvel writes: > > But these lame cobol programs stick it into an '88' and let the linker fill in the value. > > That will increase the code size slightly (notably for values like 0 > > and 1, less so for RMS$_FNF) > > What is worse the extra code will be a memory reference. > > Yeah, sure, a good compiler can reduce the size of the literal pool. > I've work with embedded systems with 64K word memory, and worry about > each word there. I don't care much at all about the literal and working storage pool size. I like the programmers to 'waste' it on alignment and by using an S9(9) COMP where a PIC 9 would 'suffice' It's the code, and the memory access behaviour which does count. With that come the cache flushes and delays. This example itself was not too convincing, admitted. But my reply was triggered by a change I just made to a cobol program minutes before seeing this topic. In that program, changing two work/temp variables from a PIC 9(6) and a COMP-3 (packed) to a plain old aligned integer changed the CODE by 3000+ bytes. Just two lines in the data defintions tweaked and moved! Like you imply, it all needs to be put in perspective though. That same program opens a particular file 3 times over, 'just in case'. RMS maps the gloabl buffers for that file 3 times over, 'just in case'. Now that's wasting resources! A bit of user mode code will not make much of a difference, but eventually it becomes a page less of code, a pagefault less, a lock held a little shorter. Then it starts to matter. You gotta start somewhere. (enne... Alle kleine beetjes helpen) Cheers, Hein. ------------------------------ Date: 16 Nov 2007 11:23:48 -0500 From: brooks@cuebid.zko.hp.nospam (Rob Brooks) Subject: Re: system constants in COBOL Message-ID: <8K2RrSXbnjWT@cuebid.zko.hp.com> John Santos writes: > Rob Brooks wrote: >> In general, stuff in the STARLET library does not change, while stuff in >> the LIB library can change at will. > > Sometimes things change without a corresponding change in STARLET... > > In V8.3 (8.2?) mailbox unit numbers can now be greater then 32767. > > In BASIC, LIB$GETDVI returns the mailbox unit number as a longword, > as it alway has. $GETDVI (both LIB and SYS) return all integers as four-byte entities, no matter what language. > Is there a better way? Or should CREPRC be changed to accept > a long instead of an unsigned word for this argument? Or is > there some way to finagle BASIC into passing a signed word (or > a longword with bit 15 set) to a function expecting an unsigned > word? (Short of writing a MACRO glue routine to do a movzwl > instead of a cvtwl when constructing the arg list for $creprc.) > > Should I SPR this? Yeah, fill out that form in triplicate :-) Seriously, this should be escalated. I'll see what I can do informally do have someone take a poke at this, but it's always easier to have a customer complaint. -- Rob Brooks MSL -- Nashua brooks!cuebid.zko.hp.com ------------------------------ Date: Fri, 16 Nov 2007 07:59:29 -0800 (PST) From: Rich Jordan Subject: Re: The NBA and VMS Message-ID: On Nov 15, 7:59 pm, "tomarsin2...@comcast.net" wrote: > Hello > Going to my junk I found a poster of Larry Bird standing next to a > 6000-560, 9000, a couple of 4000 series and 3100's and acourse it > states THE OFFICAL COMPUTER SYSTEM OF THE NBA. Just wondering if HP/ > VMS is still the offical computer system or did the NBA drop VMS like > the Celtics stopped winning championships.??? > phil I have one of those too. I imagine when pro basketball became thugball they also devolved their computer systems to wintels. But who knows. ------------------------------ Date: 16 Nov 2007 07:56:19 -0600 From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Subject: Re: VAX design out of fashion ? Maybe not. Message-ID: In article , Michael Kraemer writes: > http://search-desc.ebay.de/search/search.dll?sofocus=bs&sbrftog=1&catref=C6&saetm=1195204374&from=R10&fstype=1&satitle=vax+design&sacat=160%26catref%3DC6&fts=2&a6=-24&a56=-24&a26446=-24&a14=-24&alist=a6%2Ca56%2Ca26446%2Ca14%2Ca3801&pfmode=1&reqtype=1&gcs=2060&pfid=3033&pf_query=vax+design&sargn=-1%26saslc%3D3&sadis=200&fpos=64291&sabfmts=1&saobfmts=insif&ga10244=10425&ftrt=1&ftrv=1&saprclo=&saprchi=&fsop=1%26fsoo%3D1&coaction=compare&copagenum=1&coentrypage=search > > ( search for VAX under "Computer" ) > OK, I think I got it. http://tinyurl.com/32gzqo ------------------------------ Date: Fri, 16 Nov 2007 14:39:34 -0000 From: "issinoho" Subject: Re: VMS V8.3 I64, mail crashes sending to transferred user accounts Message-ID: <13jratacq79dq9e@corp.supernews.com> I had this same problem and ITRC eventually found out why. Make sure any logical name used to define your account device (e.g. USER$ROOT) is defined as EXECutive rather than SUPERvisory. There is apparently a bug in the mail code which falls over in this instance. Should be fixed in an upcoming patch. Hope this helps. "Rich Jordan" wrote in message news:fa37a611-d911-4a90-bddc-701086680c18@p69g2000hsa.googlegroups.com... > Got a new itanium installation (RX2660, VMS 8.3, Update V3, current > patches as of 9/20/2007) going in in place of an Alphaserver. The > user directories were directly loaded from an offline image backup > tape to the new server, including their mail.mai and other mail > files. The same logical > > This is the same procedure we've used before, along with a merge of > the VMSMAIL_PROFILE.DATA file with no issue but this is the first > itanium target. RIGHTSLIST and SYSUAF file were merged following the > usual instructions. All account UICs are the same, and the primary > logicals used for UAF device locations are the same between the alpha > and the itanium node (though the underlying device names changed). > > I've manually verified all user UAF records and rights identifiers; > they are correct. > > SYSTEM is the only account able to receive mail locally. It can send > mail to itself, but mail to any of the user accounts causes an ACCVIO > and crash of the mail program back to the DCL prompt. > > Any other account can send mail to SYSTEM, and as long as it doesn't > CC itself or another user account (including via COPY_SELF options) it > doesn't crash. If it does copy_self then the attempt to send blows up > with the same error but after the message to SYSTEM is sent. > > Any account can send mail to outside accounts (specifically internet > mail) and using a SET FORWARD record to an outside internet email > account works fine as long as one of the COPY_SELF items mentioned > above is not in effect. If it is the internet mail goes out and the > sending MAIL image crashes trying to do the CC. > > Any mail already in an account mail.mai file is accessible and usable > without problem until you try to forward it out to another local > account. > > I took the maintenance account (a priv'd user account) and moved its > MAIL.MAI and overflow files out of the directory so a new one would be > created. I still cannot send a mail message to that account; it blows > up. Files restored after testing and still usable for read. > > I created a new account in its own UIC group, own directory, minimal > LOGIN.COM file, with no mail file; mail from SYSTEM crashes when I try > to send the message that should cause the file to be created. It > doesn't appear to be a problem with format or contents of the MAIL.MAI > files moved from the Alpha if we cannot even create a new one. > > I tried using a stock empty (except for SYSTEM) VMSMAIL_PROFILE.DATA > file, no difference. > > I checked the INSTALL image settings on the mail images versus the > Alpha and they appear to be the same (except for mail_old not being > present on the itanium). > > I even ran mail with SET WATCH turned on to see if there were any > relevant errors, but there were not; no file access issues, no errors > reported at all until the stack dump. > > Any thoughts? ITRC is not much fun to search but I tried; the > specific crash errors I'm seeing also don't turn up in google > searches, so maybe its not a known issue. > > Thanks for any info > > ===================================================================== > (SYSTEM account send to the new test account) > > MAIL> send > To: myaccount > Subj: test > Enter your message below. Press CTRL/Z when complete, or CTRL/C to > quit: > test > *EXIT* > %SYSTEM-F-ACCVIO, access violation, reason mask=00, > virtual address=000000007B6603F0, PC=000000007B430380, PS=0000001B > > Improperly handled condition, image exit forced. > Signal arguments: Number = 0000000000000005 > Name = 000000000000000C > 0000000000000000 > 000000007B6603F0 > 000000007B430380 > 000000000000001B > > Register dump: > R0 = 0000000000000000 R1 = 000000007B660000 R2 = > 0000000000000000 > R3 = FFFFFFFFFFFFFFFD R4 = 000000007FFCF818 R5 = > 000000007FFCF8B0 > R6 = 000000007FF67F30 R7 = 0000000000000002 R8 = > 00000000001BDF99 > R9 = 000000007B660414 R10 = 00000000000003F0 R11 = > 000000007B660000 > SP = 000000007AD020A0 TP = 000000007B5501C8 R14 = > FFFFFFFF841E9CB0 > R15 = 000000007B460640 R16 = FFFFFFFF8000BDA0 R17 = > 00000000001BDFA1 > R18 = 0000000000000001 R19 = 000000007B6603F0 R20 = > 00000000001BDF7C > R21 = 00000000001BDF9A R22 = 0000000000000008 R23 = > 0000000000000005 > R24 = 000000007AD020B8 R25 = 000000007AD020BC R26 = > 000000007AD020B8 > R27 = 00000000001BDF9A R28 = 000007FDBFF96418 R29 = > 0000000000000000 > R30 = 0000000000000007 R31 = 000000007B430600 PC = > 000000007B430380 > BSP/STORE = 000007FDBFFD4BB8 / 000007FDBFFD4AA8 PSR = > 0000101308426010 > IIPA = 000000007B430320 > B0 = 000000007B430300 B6 = FFFFFFFF8000BDA0 B7 = > FFFFFFFF800E8000 > > Interrupted Frame RSE Backing Store, Size = 17 registers > > R32 = 000000007AD024D0 R33 = 000000007AD02280 R34 = > 00000000001BDF7C > R35 = 000000007AD02178 R36 = 0000000000000001 R37 = > FFFFFFFF803B8280 > R38 = C000000000000B1E R39 = 0000000000065103 R40 = > FFFFFFFF8E3F8E00 > R41 = FFFFFFFF8000BCA0 R42 = C000000000000288 R43 = > 000000007B660000 > R44 = 00000000001BDF9A R45 = 0000000000000006 R46 = > 000000007B4530E1 > R47 = 0000000000000001 R48 = 00000000000000A4 > ------------------------------ Date: Fri, 16 Nov 2007 07:48:30 -0800 (PST) From: Rich Jordan Subject: Re: VMS V8.3 I64, mail crashes sending to transferred user accounts Message-ID: <09ae3905-78bc-405d-8f78-0ea02b935872@l1g2000hsa.googlegroups.com> On Nov 16, 8:39 am, "issinoho" wrote: > I had this same problem and ITRC eventually found out why. > > Make sure any logical name used to define your account device (e.g. > USER$ROOT) is defined as EXECutive rather than SUPERvisory. There is > apparently a bug in the mail code which falls over in this instance. Should > be fixed in an upcoming patch. > > Hope this helps. > > "Rich Jordan" wrote in message > > news:fa37a611-d911-4a90-bddc-701086680c18@p69g2000hsa.googlegroups.com... > > > Got a new itanium installation (RX2660, VMS 8.3, Update V3, current > > patches as of 9/20/2007) going in in place of an Alphaserver. The > > user directories were directly loaded from an offline image backup > > tape to the new server, including their mail.mai and other mail > > files. The same logical > > > This is the same procedure we've used before, along with a merge of > > the VMSMAIL_PROFILE.DATA file with no issue but this is the first > > itanium target. RIGHTSLIST and SYSUAF file were merged following the > > usual instructions. All account UICs are the same, and the primary > > logicals used for UAF device locations are the same between the alpha > > and the itanium node (though the underlying device names changed). > > > I've manually verified all user UAF records and rights identifiers; > > they are correct. > > > SYSTEM is the only account able to receive mail locally. It can send > > mail to itself, but mail to any of the user accounts causes an ACCVIO > > and crash of the mail program back to the DCL prompt. > > > Any other account can send mail to SYSTEM, and as long as it doesn't > > CC itself or another user account (including via COPY_SELF options) it > > doesn't crash. If it does copy_self then the attempt to send blows up > > with the same error but after the message to SYSTEM is sent. > > > Any account can send mail to outside accounts (specifically internet > > mail) and using a SET FORWARD record to an outside internet email > > account works fine as long as one of the COPY_SELF items mentioned > > above is not in effect. If it is the internet mail goes out and the > > sending MAIL image crashes trying to do the CC. > > > Any mail already in an account mail.mai file is accessible and usable > > without problem until you try to forward it out to another local > > account. > > > I took the maintenance account (a priv'd user account) and moved its > > MAIL.MAI and overflow files out of the directory so a new one would be > > created. I still cannot send a mail message to that account; it blows > > up. Files restored after testing and still usable for read. > > > I created a new account in its own UIC group, own directory, minimal > > LOGIN.COM file, with no mail file; mail from SYSTEM crashes when I try > > to send the message that should cause the file to be created. It > > doesn't appear to be a problem with format or contents of the MAIL.MAI > > files moved from the Alpha if we cannot even create a new one. > > > I tried using a stock empty (except for SYSTEM) VMSMAIL_PROFILE.DATA > > file, no difference. > > > I checked the INSTALL image settings on the mail images versus the > > Alpha and they appear to be the same (except for mail_old not being > > present on the itanium). > > > I even ran mail with SET WATCH turned on to see if there were any > > relevant errors, but there were not; no file access issues, no errors > > reported at all until the stack dump. > > > Any thoughts? ITRC is not much fun to search but I tried; the > > specific crash errors I'm seeing also don't turn up in google > > searches, so maybe its not a known issue. > > > Thanks for any info > > > ===================================================================== > > (SYSTEM account send to the new test account) > > > MAIL> send > > To: myaccount > > Subj: test > > Enter your message below. Press CTRL/Z when complete, or CTRL/C to > > quit: > > test > > *EXIT* > > %SYSTEM-F-ACCVIO, access violation, reason mask=00, > > virtual address=000000007B6603F0, PC=000000007B430380, PS=0000001B > > > Improperly handled condition, image exit forced. > > Signal arguments: Number = 0000000000000005 > > Name = 000000000000000C > > 0000000000000000 > > 000000007B6603F0 > > 000000007B430380 > > 000000000000001B > > > Register dump: > > R0 = 0000000000000000 R1 = 000000007B660000 R2 = > > 0000000000000000 > > R3 = FFFFFFFFFFFFFFFD R4 = 000000007FFCF818 R5 = > > 000000007FFCF8B0 > > R6 = 000000007FF67F30 R7 = 0000000000000002 R8 = > > 00000000001BDF99 > > R9 = 000000007B660414 R10 = 00000000000003F0 R11 = > > 000000007B660000 > > SP = 000000007AD020A0 TP = 000000007B5501C8 R14 = > > FFFFFFFF841E9CB0 > > R15 = 000000007B460640 R16 = FFFFFFFF8000BDA0 R17 = > > 00000000001BDFA1 > > R18 = 0000000000000001 R19 = 000000007B6603F0 R20 = > > 00000000001BDF7C > > R21 = 00000000001BDF9A R22 = 0000000000000008 R23 = > > 0000000000000005 > > R24 = 000000007AD020B8 R25 = 000000007AD020BC R26 = > > 000000007AD020B8 > > R27 = 00000000001BDF9A R28 = 000007FDBFF96418 R29 = > > 0000000000000000 > > R30 = 0000000000000007 R31 = 000000007B430600 PC = > > 000000007B430380 > > BSP/STORE = 000007FDBFFD4BB8 / 000007FDBFFD4AA8 PSR = > > 0000101308426010 > > IIPA = 000000007B430320 > > B0 = 000000007B430300 B6 = FFFFFFFF8000BDA0 B7 = > > FFFFFFFF800E8000 > > > Interrupted Frame RSE Backing Store, Size = 17 registers > > > R32 = 000000007AD024D0 R33 = 000000007AD02280 R34 = > > 00000000001BDF7C > > R35 = 000000007AD02178 R36 = 0000000000000001 R37 = > > FFFFFFFF803B8280 > > R38 = C000000000000B1E R39 = 0000000000065103 R40 = > > FFFFFFFF8E3F8E00 > > R41 = FFFFFFFF8000BCA0 R42 = C000000000000288 R43 = > > 000000007B660000 > > R44 = 00000000001BDF9A R45 = 0000000000000006 R46 = > > 000000007B4530E1 > > R47 = 0000000000000001 R48 = 00000000000000A4 Issinoho that was it. That was stupid. That was a brain fart on my part... the Alpha had it defined /exec but I apparently hand-typed it into the itanium startup command procedure and just left it off. Thanks! Rich ------------------------------ Date: Fri, 16 Nov 2007 16:14:49 +0100 From: "Walter Kuhn" Subject: X11 in a browser? Message-ID: <473db3ea$0$9409$91cee783@newsreader02.highway.telekom.at> 1) there is an existing OpenVMS application with X11 (not Motif) user interface 2) The user has PCs with normal Web Browsers (no additional software) 3) Users wans to use the application (1) completely in the browser (no additional software) Any ideas, hints, suggestions Thank you in advance Walter Kuhn ------------------------------ Date: 16 Nov 2007 09:43:41 -0600 From: Kilgallen@SpamCop.net (Larry Kilgallen) Subject: Re: X11 in a browser? Message-ID: In article , VAXman- @SendSpamHere.ORG writes: > In article <473db3ea$0$9409$91cee783@newsreader02.highway.telekom.at>, "Walter Kuhn" writes: >> >> >>1) there is an existing OpenVMS application with X11 (not Motif) user >>interface >>2) The user has PCs with normal Web Browsers (no additional software) >>3) Users wans to use the application (1) completely in the browser (no >>additional software) >> >>Any ideas, hints, suggestions > > Rewrite it. Get a Mac. But if not, why put an application on VMS ? Why not put an X11 server on the PC ? Basically the problem at hand has nothing to do with web browsing and attempting to build something that turned a web browser into an X11 server would at best produce something with unsatisfactory performance. ------------------------------ Date: 16 Nov 2007 16:20:57 GMT From: "gl@decadence.it" Subject: Re: X11 in a browser? Message-ID: <473dc368$0$37198$4fafbaef@reader3.news.tin.it> Il Fri, 16 Nov 2007 16:14:49 +0100, Walter Kuhn ha scritto: > 1) there is an existing OpenVMS application with X11 (not Motif) user > interface > 2) The user has PCs with normal Web Browsers (no additional software) > 3) Users wans to use the application (1) completely in the browser (no > additional software) > > Any ideas, hints, suggestions > > Thank you in advance > Walter Kuhn Hello Don't know if it exactly what you want, but here it is... At least some software is needed. Or do you want to produce hot water without loss of energy? :) What you could do, is to use WeirdX http://www.jcraft.com/weirdx/ It is an implementation of X11 server in 100% pure java, and can be used in a web browser. It also uses dxpc (Differential X Protocol Compressor) and SSH2 forwarding. But you need the Java JRE and the WeirdX libraries. You could use Java Web Start to deploy everything necessary to the remote clients. Bye gl ------------------------------ Date: Fri, 16 Nov 2007 09:30:14 -0800 From: "Tom Linden" Subject: Re: X11 in a browser? Message-ID: On Fri, 16 Nov 2007 07:43:41 -0800, Larry Kilgallen wrote: > In article , VAXman- @SendSpamHere.ORG > writes: >> In article <473db3ea$0$9409$91cee783@newsreader02.highway.telekom.at>, >> "Walter Kuhn" writes: >>> >>> >>> 1) there is an existing OpenVMS application with X11 (not Motif) user >>> interface >>> 2) The user has PCs with normal Web Browsers (no additional software) >>> 3) Users wans to use the application (1) completely in the browser (no >>> additional software) >>> >>> Any ideas, hints, suggestions >> >> Rewrite it. > > Get a Mac. > > But if not, why put an application on VMS ? > Why not put an X11 server on the PC ? > > Basically the problem at hand has nothing to do with web browsing and > attempting to build something that turned a web browser into an X11 > server would at best produce something with unsatisfactory performance. Exactly, eXcursion running on a PC is a great tool I can from home, for example, on my XP laptop run emacs, dbg, swcc, etc tunneling through an SSH connection. Additionally using WASD with secure connection I can view our cluster file system in the same way the Explore works on windows, can open and edit files seamlessly. -- PL/I for OpenVMS www.kednos.com ------------------------------ End of INFO-VAX 2007.628 ************************