INFO-VAX Sat, 05 May 2007 Volume 2007 : Issue 246 Contents: Re: BASIC problem calling LIB$ RTL Re: DCL Magic? OpenVMS Advanced Technical Boot Camp Update May 4th Re: OT: Favorite movies of the VMS crowd? Slightly OT:DS10L and router compatibility Re: Slightly OT:DS10L and router compatibility Re: Slightly OT:DS10L and router compatibility Re: Slightly OT:DS10L and router compatibility Re: Slightly OT:DS10L and router compatibility Re: Slightly OT:DS10L and router compatibility ---------------------------------------------------------------------- Date: Sat, 05 May 2007 12:40:40 GMT From: VAXman- @SendSpamHere.ORG Subject: Re: BASIC problem calling LIB$ RTL Message-ID: <00A67279.86A57A8C@SendSpamHere.ORG> In article <463bed99$1@dnews.tpgi.com.au>, Jim Duff writes: > > >David J Dachtera wrote: >> VAXman-, @SendSpamHere.ORG wrote: >[snip] >>> Again, I'm not a BASIC programmer and, as you have pointed out, neither >>> was the person that authored this code. >>> >>> The %BAS-F-TOOFEWARG is misleading error. The problem was that a routine >>> entry point was improperly passed to the LIB$RENAME_FILE RTL. I used the >>> LOC() and fixed the problem. >> >> I think I see what may have happened. >> >> TYPE=EXPLICIT was not in force at compile time, leaving TYPE=IMPLICIT in >> force. >> >> RENAME_ERROR was not explicitly declared as a variable at compile time >> and the name does not contain a dollar sign ("$"); so, RENAME_ERROR was >> implicitly declared as a numeric variable of the default type and size. The >> implicitly declared variable was initialized to zero at runtime. > >Actually, it was. See the line that says: > >EXTERNAL LONG FUNCTION RENAME_ERROR > >> >> Now consider the calling standard. It is very likely that this leaves >> two consecutive zero longwords on the stack at just the right alignment >> - thus signifying the end of the argument list. Thus, the RTL routine >> likely interpreted that as TOOFEWARG since the apparent end of the >> argument list occurred before it was expected. >> >> Had RENAME_ERROR also been a previously used variable with a non-zero value, the >> result would likely have been an ACCVIO when the RTL routine tried to use its >> contents as an address. That would have been equally or even more misleading, >> and perhaps a bit more difficult to troubleshoot. >> > >Applying Occam's Razor (and compiling /list/machine) you will find that >the bare reference to RENAME_ERROR is treated by the compiler as a >function invocation. Because RENAME_ERROR requires six arguments, and >none are supplied, the runtime error results. I didn't write this software; I was only asked to right it. Strangely, the problem didn't rear its ugly head until it was run on V8.3. Most of the code was Macro32. Why the small bit of code calling it was written in BASIC is beyond me. The problem has been corrected with LOC(). -- VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" ------------------------------ Date: Sat, 05 May 2007 11:10:46 +0200 From: Martin Krischik Subject: Re: DCL Magic? Message-ID: <463c4a17$1@news.post.ch> Bob Koehler schrieb: > In article <00A66925.7CDCDCF9@SendSpamHere.ORG>, VAXman- @SendSpamHere.ORG writes: >> What happens when a program called SYS$SETDDIR() and then drops out to >> DCL where the default was set in the program? > > The same as when they use "set default" instead of the .COM file. > But then I never did like path names taking up 80% of my command > line. That's why my prompt on all non VMS systems end with a CR/LF and ">" (whatever needed on the OS in question) - but on VMS that would be another 2 chars off the precious 32 available. Martin ------------------------------ Date: 5 May 2007 06:57:44 -0700 From: Sue Subject: OpenVMS Advanced Technical Boot Camp Update May 4th Message-ID: <1178373464.673637.6210@n76g2000hsh.googlegroups.com> Dear Newsgroup, I sent this out yesterday, but I forgot Switzerland on the list with 2 folks. We also now have two open slots for the Porting workshops. Sue ------------------------------------ Dear Distribution Lists, It is my pleasure to provide you this weeks Boot Camp Update. We begin our boot camp in 16 days and the OpenVMS team is really looking forward to seeing everyone. ATTENDEES please check the web site Monday for and updated agenda and additional information. http://h71000.www7.hp.com/symposium/index.html So how are we doing with registration. Our goal is 200 we currently have 163 folks registered with 2 outstanding scholarships giving us 36 remaining seats. Please note that all pre Boot Camp Seminars are now full if you have an urgent need we can put you on a wait list. Vertical Segment breakdown of folks attending. Since we can not distribute attendees names I thought you might want to know a little about the audience attending. This will not add up exactly since there are a few companies I either do not know or can not find. Finance = 20 Lotteries = 3 Manufacturing = 16 Government = 13 Telco = 10 Healthcare= 8 Data Warehousing = 6 SI = 15 IT Partners = 6 Education 5 Retail = 3 Consultants = 17 As far as where the attendees are from we have 63 customers from outside the US which will make for a nice cross section of cultures. Austria 3 Australia 1 Canada 6 Belgium 2 England 6 France 1 Germany 12 Hungary 1 India 2 Ireland 1 Italy 3 Netherlands 9 Norway 1 Spain 1 Sweden 14 And the rest are from the US If you have any questions please do not hesitate to send me email. Warm Regards, Sue ------------------------------ Date: 5 May 2007 07:24:17 -0700 From: Sue Subject: Re: OT: Favorite movies of the VMS crowd? Message-ID: <1178375057.819280.262210@p77g2000hsh.googlegroups.com> On May 3, 11:24 pm, JF Mezei wrote: > Sue wrote: > > Tron > > Daryl > > Apollo 13 > > Lord of the Rings > > Hunt for Red October > > Independence Day > > Shouldn't Sue have at lest one star trek movie in there ????? > > Now, if Digital had had marketing savvy, they would have enslaved Majel > Barret, and made her voice the official voice for DecTalk. > > Billions of trek fans would have instantly become VAX/VMS fans. Your right I forgot the Star Trek series actually I started with VMS themes and then got carried away, which there is in most of them, but you will have to figure it out. Sue ------------------------------ Date: Sat, 5 May 2007 18:31:15 +1000 From: "Gremlin" Subject: Slightly OT:DS10L and router compatibility Message-ID: <133og6mvosa54c@corp.supernews.com> I have a DS10L happily running behind a Netgear router - port 80 forwarding from the router to the DS10L - all good for about the last 3 years. Because of VoIP issues, I need to change the router and there isn't a Netgear available that will do VPN, VoIP and QoS, so I now have a Billion 7404VGO-M. The problem is, on the Billion router, I can forward port 80 to any server *except* the DS10L - I have pushed it to various Windoze servers and it works fine, but as soon as I point it to the DS10L - nothing. Replacing the Billion with the Netgear makes everything work as usual, except I don't get VoIP operating properly due to QoS issues. So, anyone have some suggestions? Billion are no help, have already reflashed/upgraded/swore at the router etc. Key point seems to be, port 80 to anything *except* the DS10L is fine on the Billion, port80 to the DS10L is fine on the Netgear, so..... ------------------------------ Date: 5 May 2007 11:54:15 +0200 From: eplan@langstoeger.at (Peter 'EPLAN' LANGSTOEGER) Subject: Re: Slightly OT:DS10L and router compatibility Message-ID: <463c7067$1@news.langstoeger.at> In article <133og6mvosa54c@corp.supernews.com>, "Gremlin" writes: >Because of VoIP issues, I need to change the router and there isn't a >Netgear available that will do VPN, VoIP and QoS, so I now have a Billion >7404VGO-M. The problem is, on the Billion router, I can forward port 80 to >any server *except* the DS10L - I have pushed it to various Windoze servers >and it works fine, but as soon as I point it to the DS10L - nothing. Is this a general problem between the DS10L and the billion or HTTP only? Does the DS10L ping the billion? Is this perhaps an ARP issue on the DS10L? Did you clear the ARP cache on the DS10L (what IP stack do you run)? What does TCPDUMP on the DS10L tell? Do the packets arrive on the DS10L? And so on... -- Peter "EPLAN" LANGSTOEGER Network and OpenVMS system specialist E-mail peter@langstoeger.at A-1030 VIENNA AUSTRIA I'm not a pessimist, I'm a realist ------------------------------ Date: Sat, 5 May 2007 22:41:36 +1000 From: "Gremlin" Subject: Re: Slightly OT:DS10L and router compatibility Message-ID: <133ous2kmkl2pf0@corp.supernews.com> Hi Peter So, DS10L uses the router as its gateway and: - Using VMS8.2 with TCPIP services patched to latest version - can ping to addresses on the internet, the DS10L only has HTTP open through the gateway and only has SSH open internally as well as HTTP - haven't used TCPDUMP - haven't cleared APR cache on the DS10L, but the router's ARP cache shows the MAC of the DS10L - when a Netgear router is used instead of the Billion, all is OK. "Peter 'EPLAN' LANGSTOEGER" wrote in message news:463c7067$1@news.langstoeger.at... > In article <133og6mvosa54c@corp.supernews.com>, "Gremlin" > writes: >>Because of VoIP issues, I need to change the router and there isn't a >>Netgear available that will do VPN, VoIP and QoS, so I now have a Billion >>7404VGO-M. The problem is, on the Billion router, I can forward port 80 >>to >>any server *except* the DS10L - I have pushed it to various Windoze >>servers >>and it works fine, but as soon as I point it to the DS10L - nothing. > > Is this a general problem between the DS10L and the billion or HTTP only? > Does the DS10L ping the billion? > Is this perhaps an ARP issue on the DS10L? > Did you clear the ARP cache on the DS10L (what IP stack do you run)? > What does TCPDUMP on the DS10L tell? Do the packets arrive on the DS10L? > And so on... > > -- > Peter "EPLAN" LANGSTOEGER > Network and OpenVMS system specialist > E-mail peter@langstoeger.at > A-1030 VIENNA AUSTRIA I'm not a pessimist, I'm a realist ------------------------------ Date: Sat, 5 May 2007 14:58:07 +0100 From: "John Wallace" Subject: Re: Slightly OT:DS10L and router compatibility Message-ID: <133p5dc3udeq2f5@corp.supernews.com> "Gremlin" wrote in message news:133ous2kmkl2pf0@corp.supernews.com... > Hi Peter > > So, DS10L uses the router as its gateway and: > - Using VMS8.2 with TCPIP services patched to latest version > - can ping to addresses on the internet, the DS10L only has HTTP open > through the gateway and only has SSH open internally as well as HTTP > - haven't used TCPDUMP > - haven't cleared APR cache on the DS10L, but the router's ARP cache shows > the MAC of the DS10L > - when a Netgear router is used instead of the Billion, all is OK. > > > "Peter 'EPLAN' LANGSTOEGER" wrote in message > news:463c7067$1@news.langstoeger.at... > > In article <133og6mvosa54c@corp.supernews.com>, "Gremlin" > > writes: > >>Because of VoIP issues, I need to change the router and there isn't a > >>Netgear available that will do VPN, VoIP and QoS, so I now have a Billion > >>7404VGO-M. The problem is, on the Billion router, I can forward port 80 > >>to > >>any server *except* the DS10L - I have pushed it to various Windoze > >>servers > >>and it works fine, but as soon as I point it to the DS10L - nothing. > > > > Is this a general problem between the DS10L and the billion or HTTP only? > > Does the DS10L ping the billion? > > Is this perhaps an ARP issue on the DS10L? > > Did you clear the ARP cache on the DS10L (what IP stack do you run)? > > What does TCPDUMP on the DS10L tell? Do the packets arrive on the DS10L? > > And so on... > > > > -- > > Peter "EPLAN" LANGSTOEGER > > Network and OpenVMS system specialist > > E-mail peter@langstoeger.at > > A-1030 VIENNA AUSTRIA I'm not a pessimist, I'm a realist > > Have you rebooted the DS10 and reinstalled the software? Oh, hold on, it's a VMS box, cancel that. This behaviour is a bit surprising; why would a SoHo router care whether a particular IP address's port 80 has VMS behind it or Windows behind it? The real problem is likely slightly different. Peter has interesting suggestions; as he says, TCPDUMP is likely to be a useful tool to see what the DS10 thinks is arriving and departing. If the Billion has a firewall, you might want to temporarily disable it for test purposes, and/or (thinking along similar lines) reset to a default ruleset. Sometimes router firewalls don't do quite what you might expect. Hiding behind NAT is often enough, especially for short term testing, but different considerations may apply if the DS10 has a public IP address or is otherwise exposed to potentially untrusted traffic. (This is VMS though, right, so it's likely to be OK if sensibly configured?) You might also want to try Ethereal/Wireshark (or similar packet sniffer) on a Windows or Linux box, so you can see what is actually on the LAN rather than what TCPDUMP on the DS10 sees. Bear in mind that Wireshark's interface will need to be in promiscuous mode, and that if you're on a switched network you need to be sure that your Wireshark port is seeing all relevant traffic to/from the DS10 - in a properly operating switched network, ports other than the DS10's normally won't see the DS10's traffic. Apologies if any of this is obvious stuff. Good luck, John ------------------------------ Date: Sat, 05 May 2007 12:28:16 -0400 From: JF Mezei Subject: Re: Slightly OT:DS10L and router compatibility Message-ID: <7493c$463cb0a9$cef8887a$18032@TEKSAVVY.COM> Gremlin wrote: > 7404VGO-M. The problem is, on the Billion router, I can forward port 80 to > any server *except* the DS10L - I have pushed it to various Windoze servers > and it works fine, but as soon as I point it to the DS10L - nothing. When you say "nothing", can you elaborate ? You mean that from the internet, someone trying to access your internet host name/ip doesn't get through to your DS10L ? Or they get through but get incomplete pages ? Or are you trying to access your DS10L from within your LAN by typing in its internet IP address ? (not all routers are able to properly NAT from within the LAN (aka, you type your internet IP from inside your LAN and the router redirects to the local LAN IP) Does the web server on your DS10L have any log of an incoming request ? Also, have you checked MTU issues ? When you say port 80 doesn't work, does that also mean that telnet into your DS10L also fails, or are there services which work, but port 80 fails ? ------------------------------ Date: Sat, 05 May 2007 13:32:13 -0400 From: "Richard B. Gilbert" Subject: Re: Slightly OT:DS10L and router compatibility Message-ID: <463CBF9D.1080305@comcast.net> Gremlin wrote: > I have a DS10L happily running behind a Netgear router - port 80 forwarding > from the router to the DS10L - all good for about the last 3 years. > > Because of VoIP issues, I need to change the router and there isn't a > Netgear available that will do VPN, VoIP and QoS, so I now have a Billion > 7404VGO-M. The problem is, on the Billion router, I can forward port 80 to > any server *except* the DS10L - I have pushed it to various Windoze servers > and it works fine, but as soon as I point it to the DS10L - nothing. > > Replacing the Billion with the Netgear makes everything work as usual, > except I don't get VoIP operating properly due to QoS issues. > > So, anyone have some suggestions? Billion are no help, have already > reflashed/upgraded/swore at the router etc. Key point seems to be, port 80 > to anything *except* the DS10L is fine on the Billion, port80 to the DS10L > is fine on the Netgear, so..... > > Try to send packets to port 80 on the DS10L and snoop the output of the router. The three possibilities seem to be: a. the router is not forwarding the port 80 packets, b. the router is forwarding port 80 somewhere else, or c. the router is forwarding port 80 to the DS10L which is ignoring those packets. ------------------------------ End of INFO-VAX 2007.246 ************************