INFO-VAX Tue, 08 Jul 2008 Volume 2008 : Issue 379 Contents: Re: 226 Transfer complete question Re: 226 Transfer complete question Another new VMS system. Re: Python for VMS Re: Show of support for Distributed NetBeans Re: Show of support for Distributed NetBeans Re: Symbol Substitution Mystery Re: Symbol Substitution Mystery Re: Symbol Substitution Mystery ---------------------------------------------------------------------- Date: Tue, 08 Jul 2008 07:29:32 -0700 From: "Tom Linden" Subject: Re: 226 Transfer complete question Message-ID: On Mon, 07 Jul 2008 20:42:17 -0700, kiwi-red wrote: > Hi > > I have some code to modify that looks for the return status > after doing an FTP. It looks for 226 Transfer Complete. > The code will fail if it returns 226 Transfer OK > which I assume is coming from a different flavour on > the other end. > > Is it safe to assume that if I just search for 226 Transfer > then I will only get successful transfers? Read line into char string, response, then (in PL/I e.g.) If index(response,'226') > 0 &: index(response, 'Transfer') &: (index(response, 'Complete') ! index(response,ÓK')) then do; ... end; else signal ftp_failed; where above is a handler permitting fail soft response > > It might be possible to change the code to look for either, > but it is fairly long winded and complex. > > Is the above likely to be a safe assumption? > > kiwi -- PL/I for OpenVMS www.kednos.com ------------------------------ Date: Tue, 08 Jul 2008 07:38:06 -0700 From: "Tom Linden" Subject: Re: 226 Transfer complete question Message-ID: On Tue, 08 Jul 2008 07:29:32 -0700, Tom Linden wrote: > On Mon, 07 Jul 2008 20:42:17 -0700, kiwi-red > wrote: > >> Hi >> >> I have some code to modify that looks for the return status >> after doing an FTP. It looks for 226 Transfer Complete. >> The code will fail if it returns 226 Transfer OK >> which I assume is coming from a different flavour on >> the other end. >> >> Is it safe to assume that if I just search for 226 Transfer >> then I will only get successful transfers? > > Read line into char string, response, then (in PL/I e.g.) > > If index(response,'226') > 0 &: index(response, 'Transfer') &: > (index(response, 'Complete') ! index(response,ÓK')) > then do; > ... > end; > else > signal ftp_failed; > > where above is a handler permitting fail soft response Ignore all that, see Schweda's response > >> >> It might be possible to change the code to look for either, >> but it is fairly long winded and complex. >> >> Is the above likely to be a safe assumption? >> >> kiwi > > > -- PL/I for OpenVMS www.kednos.com ------------------------------ Date: Tue, 08 Jul 2008 10:48:33 GMT From: =?ISO-8859-1?Q?Jan-Erik_S=F6derholm?= Subject: Another new VMS system. Message-ID: <5CHck.777$U5.393@newsb.telia.net> See http://www.sgx.com/ Click "SGX moves to new securities trading engine". Or see : http://tinyurl.com/5zpm8k for a less-capable-browser-version... ------------------------------ Date: Tue, 08 Jul 2008 17:19:09 +0200 From: =?ISO-8859-1?Q?Jean-Fran=E7ois_Pi=E9ronne?= Subject: Re: Python for VMS Message-ID: <4873856b$0$1277$426a34cc@news.free.fr> As requested by someone Python can, now, be used with Apache (CSWS). One of my friend has successfully ported mod_python and mod_wsgi on OpenVMS IA64. Some simple scripts and a more large application like django run without any problem. If someone want to try it, let me know. JFP ------------------------------ Date: Tue, 08 Jul 2008 08:53:00 GMT From: =?ISO-8859-1?Q?Jan-Erik_S=F6derholm?= Subject: Re: Show of support for Distributed NetBeans Message-ID: Craig A. Berry wrote: > > Marty Kuhrt wrote: >> IanMiller wrote: >> >>> On Jun 17, 12:08 pm, issinoho wrote: >>> >>>> Chaps, >>>> >>>> Just thought I'd show a bit of support for the Distributed NetBeans >>>> product. Not sure how many of you are using it or have tried it but it >>>> really is a terrific addition to the development options on OpenVMS. >>>> >>>> I recently finished porting a rather large commercial control system >>>> from VAX C to I64 and did it the old-fashioned character-cell way >>>> which although perfectly acceptable felt a bit archaic in this day and >>>> age. >>>> >>>> I installed and ran NetBeans and it handled the entire project >>>> flawlessly; in fact, I was editing and compiling the code base from >>>> within a modern Windows IDE back onto the VMS server. From a standing >>>> start this took all of about 3 hours and involved C, MMS and FMS. >>>> >>>> So, a slap on the back to the team involved and thanks for this. > > I would second (or umpteenth) that. And it's likely to help make the > case for a shiny new Itanium box or two in an environment I'm associated > with that has been limping along with v7.1 on an AlphaServer 2100 for > over a decade. For whatever reason, people find DEC BASIC deep, dark, > and difficult, but I think it's not having a familiar editor with syntax > highlighting that is 90% of the (perception) problem. NetBeans erases > that part of the problem. > >>> I think it's an interesting thing but it was in beta for so long that >>> NetBeans has moved on to V6. I hope they get the next version out the >>> door quicker. > > I'm not overly concerned about its being based on 5.5. Sun Studio is > based on the same thing. Most Microsoft-oriented folks are currently > using Visual Studio 2005 even though 2008 is now out. That said, it > *was* a very long field test and a bit more agility with future releases > would be better. > >> I'd also like to see more documentation on how to debug the IDE Server >> and associated stuff on the VMS side. They have some examples in the >> online docs on how to set stuff up, but only if nothing "bad" happens. >> I've been trying to get it to work on my development system without >> much luck. > > What documentation there is looks pretty good, but more is definitely > needed. A lot of the stuff that is only available in a Windows help file > format needs to be moved into the Quick Start Guide, which implies that > you can only link the source files you've compiled by writing a DCL > procedure to do so, which isn't the case at all. > > And as Marty points out, on the server side you're pretty much working > from first principles after the installation. Is there a log file where > the IDE server indicates any problems it has? Does it have any knobs > and buttons like most VMS-based server processes, where you can set a > logical name or two and get more verbose traces of what's going on? > Nothing I've seen in the docs has any hints along these lines. I > suppose you can peer into the Java bytecodes or trace the RPC traffic, > but that sounds like work. > >> Using an FTP file system project I cannot seem to get the remote >> machine to sync. The IDE server is running and it seems to be >> responding to the diagnostics and compile requests. I can manually >> ftp from the client to the server without problem, but the ide client >> doesn't seem to be able to do it. If the files aren't sync'd then the >> compile just says "FNF". > > I've so far only done a simple "hello world" program but did not have > any of these problems. Check your Windows firewall settings or try > temporarily disabling it outright. See whether you can locate some kind > of bare-bones RPC client or test program to check out whether RPC > generally is a problem or just the IDE server. It's not at all clear > the IDE server would report access or quota troubles in a way that you > could see, so traditional auditing practices may be in order. When I tested Dist NB last fall, a major showstopper was that it was impossible to get it running remotely over a pair of DSL modems/routers with my Windows laptop on a NAT'ed home network ("kitchen table") and the Alpha behind another NAT router in my office down-town. The way RMI (the remote Java call) works, it gets uppset by the NAT'ed networks. I do not know of any current workaround for that. I also has a lot of install trouble with the module in NetBeans, it happend to be that at that time, the kit was stored at the HP server with the filename in the wrong case. After reniming it localy, it installed just fine. Before that was found out, I had Meg Watson at HP/US remotely controling my laptop on my kitchen table in Sweden from her home in the US (the remote software LogMeIn www.logmein.com didn't worked from within the HP network). I think that the case of the filename has been corrected in later versions. Jan-Erik. ------------------------------ Date: Tue, 8 Jul 2008 19:06:04 +0800 From: "Richard Maher" Subject: Re: Show of support for Distributed NetBeans Message-ID: Hi, "Jan-Erik Söderholm" wrote in message news:MVFck.773$U5.687@newsb.telia.net... > Craig A. Berry wrote: > > > > Marty Kuhrt wrote: > >> IanMiller wrote: > >> > >>> On Jun 17, 12:08 pm, issinoho wrote: > >>> > >>>> Chaps, > >>>> > >>>> Just thought I'd show a bit of support for the Distributed NetBeans > >>>> product. Not sure how many of you are using it or have tried it but it > >>>> really is a terrific addition to the development options on OpenVMS. > >>>> > >>>> I recently finished porting a rather large commercial control system > >>>> from VAX C to I64 and did it the old-fashioned character-cell way > >>>> which although perfectly acceptable felt a bit archaic in this day and > >>>> age. > >>>> > >>>> I installed and ran NetBeans and it handled the entire project > >>>> flawlessly; in fact, I was editing and compiling the code base from > >>>> within a modern Windows IDE back onto the VMS server. From a standing > >>>> start this took all of about 3 hours and involved C, MMS and FMS. > >>>> > >>>> So, a slap on the back to the team involved and thanks for this. > > > > I would second (or umpteenth) that. And it's likely to help make the > > case for a shiny new Itanium box or two in an environment I'm associated > > with that has been limping along with v7.1 on an AlphaServer 2100 for > > over a decade. For whatever reason, people find DEC BASIC deep, dark, > > and difficult, but I think it's not having a familiar editor with syntax > > highlighting that is 90% of the (perception) problem. NetBeans erases > > that part of the problem. > > > >>> I think it's an interesting thing but it was in beta for so long that > >>> NetBeans has moved on to V6. I hope they get the next version out the > >>> door quicker. > > > > I'm not overly concerned about its being based on 5.5. Sun Studio is > > based on the same thing. Most Microsoft-oriented folks are currently > > using Visual Studio 2005 even though 2008 is now out. That said, it > > *was* a very long field test and a bit more agility with future releases > > would be better. > > > >> I'd also like to see more documentation on how to debug the IDE Server > >> and associated stuff on the VMS side. They have some examples in the > >> online docs on how to set stuff up, but only if nothing "bad" happens. > >> I've been trying to get it to work on my development system without > >> much luck. > > > > What documentation there is looks pretty good, but more is definitely > > needed. A lot of the stuff that is only available in a Windows help file > > format needs to be moved into the Quick Start Guide, which implies that > > you can only link the source files you've compiled by writing a DCL > > procedure to do so, which isn't the case at all. > > > > And as Marty points out, on the server side you're pretty much working > > from first principles after the installation. Is there a log file where > > the IDE server indicates any problems it has? Does it have any knobs > > and buttons like most VMS-based server processes, where you can set a > > logical name or two and get more verbose traces of what's going on? > > Nothing I've seen in the docs has any hints along these lines. I > > suppose you can peer into the Java bytecodes or trace the RPC traffic, > > but that sounds like work. > > > >> Using an FTP file system project I cannot seem to get the remote > >> machine to sync. The IDE server is running and it seems to be > >> responding to the diagnostics and compile requests. I can manually > >> ftp from the client to the server without problem, but the ide client > >> doesn't seem to be able to do it. If the files aren't sync'd then the > >> compile just says "FNF". > > > > I've so far only done a simple "hello world" program but did not have > > any of these problems. Check your Windows firewall settings or try > > temporarily disabling it outright. See whether you can locate some kind > > of bare-bones RPC client or test program to check out whether RPC > > generally is a problem or just the IDE server. It's not at all clear > > the IDE server would report access or quota troubles in a way that you > > could see, so traditional auditing practices may be in order. > > When I tested Dist NB last fall, a major showstopper was that > it was impossible to get it running remotely over a pair > of DSL modems/routers with my Windows laptop on a NAT'ed > home network ("kitchen table") and the Alpha behind another > NAT router in my office down-town. The way RMI (the remote > Java call) works, it gets uppset by the NAT'ed > networks. I do not know of any current workaround for that. > > I also has a lot of install trouble with the module in > NetBeans, it happend to be that at that time, the > kit was stored at the HP server with the filename in > the wrong case. After reniming it localy, it installed > just fine. Before that was found out, I had Meg Watson > at HP/US remotely controling my laptop on my kitchen > table in Sweden from her home in the US (the remote > software LogMeIn www.logmein.com didn't worked from > within the HP network). > > I think that the case of the filename has been corrected > in later versions. > > Jan-Erik. Maybe there's more to this: - "Customers can increase productivity with HP OpenVMS and eCube's NXTware Eclipse," says Ann McQuaid. Look, all of these vacillations are making my head spin! Is Ann just fickle, or is she simply receiving advice from some of the most incompetent barrow-pushing filth on the planet? Ann, Ann, Ann! Which way should customers turn? Where should they invest their money? More pluralism? Are there any horses you haven't backed yet? How much does Meg Watson and her team get paid again? How much did this crap cost to develope? How many customers are using it? God help us! :-( Regards Richard Maher PS. Judging by the recent state of IONA, Eric may well be in the market for a new position. (He does a nice line in "Thought Leadership") What is the latest VMS jobs:boyos ratio? ------------------------------ Date: 08 Jul 2008 11:13:51 GMT From: VAXman- @SendSpamHere.ORG Subject: Re: Symbol Substitution Mystery Message-ID: <48734bef$0$11623$607ed4bc@cv.net> In article , AEF writes: >On Jun 28, 5:19 pm, hel...@astro.multiCLOTHESvax.de (Phillip Helbig--- >remove CLOTHES to reply) wrote: >> In article >> , AEF >> >> >> >> writes: >[...] >> >> > DCL$ ev "blah ''f$string(""dka200*"")' blah" >> > blah 0 blah >> > DCL$ ev "blah ''f$string("dka200*")' blah" >> > blah dka200* blah >> >> > We get 0 in the first case! Why? Because >> >> > DCL$ ev ""def*"" >> > 0 >> > DCL$ >> >> > also gives 0. Anyone know why? >> >> Yes. The "" gets parsed to a "null", then we are left with dka200* as >> the argument to a lexical function. Since there are no delimiters, a >> symbol is expected, but this symbol is not defined, so F$STRING gives it >> the value 0. > >Why should a null string go to zero? This isn't F$INTEGER()!: > >DCL> TYPE AEFGEN:SHOW-INTEGER.COM >$ SYMBOL = 'P1' >$ SH SYM SYMBOL >$ EXIT >DCL> SI F$INTEGER("") > SYMBOL = 0 Hex = 00000000 Octal = 00000000000 >DCL> SI F$STRING("") > SYMBOL = "" >DCL> SI F$INTEGER("""") > SYMBOL = 0 Hex = 00000000 Octal = 00000000000 >DCL> SI F$STRING("""") > SYMBOL = """ >DCL> SI F$INTEGER("""""") > SYMBOL = 0 Hex = 00000000 Octal = 00000000000 >DCL> SI F$STRING("""""") > SYMBOL = """" >DCL> > >I used SI to distinguish between integers and numeral strings > >> >[...] > >Now how about this one! > >DCL> WSO ""/"" >2147483647 >DCL> WSO "/" >/ >DCL> WSO / >%DCL-W-NOKEYW, qualifier name is missing - append the name to the >slash >DCL> > >Yes, I recognize the first result as 2**31-1, but why that? > >Anyone? $ WRITE SYS$OUTPUT 1/1 1 $ WRITE SYS$OUTPUT 1/0 2147483647 $ WRITE SYS$OUTPUT 0/0 2147483647 It's the largest number DCL can express without being negative. From a pure mathematics POV, division by 0 is undefined (or infinity) but many integer calculators tend to return the largest value possible. -- VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" Copyright 2008 Brian Schenkenberger. Any publication of _this_ usenet article outside of usenet _must_ include its contents _in_its_entirety_ including this copyright notice, disclaimer and quotations. ------------------------------ Date: Tue, 08 Jul 2008 09:30:11 -0400 From: JF Mezei Subject: Re: Symbol Substitution Mystery Message-ID: <48736bee$0$1541$c3e8da3@news.astraweb.com> VAXman- @SendSpamHere.ORG wrote: > It's the largest number DCL can express without being negative. From a > pure mathematics POV, division by 0 is undefined (or infinity) but many > integer calculators tend to return the largest value possible. You should include full headers in that list. When people forge your identity to post libel, this gets archived in a gazillion places which never show full headers, so a reader won't see that this post was NOT made by you since they won't be able to know if it was sent from a legitimate source or from a anonymous remailer. ------------------------------ Date: 08 Jul 2008 17:09:01 GMT From: VAXman- @SendSpamHere.ORG Subject: Re: Symbol Substitution Mystery Message-ID: <48739f2d$0$5009$607ed4bc@cv.net> In article <48736bee$0$1541$c3e8da3@news.astraweb.com>, JF Mezei writes: >VAXman- @SendSpamHere.ORG wrote: > >> It's the largest number DCL can express without being negative. From a >> pure mathematics POV, division by 0 is undefined (or infinity) but many >> integer calculators tend to return the largest value possible. > >You should include full headers in that list. When people forge your >identity to post libel, this gets archived in a gazillion places which >never show full headers, so a reader won't see that this post was NOT >made by you since they won't be able to know if it was sent from a >legitimate source or from a anonymous remailer. Noted! However, JF, that's not the intent of the new .sig. -- VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" Copyright 2008 Brian Schenkenberger. Any publication of _this_ usenet article outside of usenet _must_ include its contents _in_its_entirety_ including this copyright notice, disclaimer and quotations. The citizens of our state must be free, within reason, to speak out on matters of public concern. So long as they state the facts implicated fairly and express their opinions, even in the most colorful and hyperbolic terms, their speech should be protected by us. -- NJ Superior Court Appellate Div. (NJSC) ... pejorative statements of opinion are entitled to constitutional protection no matter how extreme, vituperous, or vigorously expressed they may be. (NJSC) "Coding is _not_ a crime!" Support the EFF: http://www.eff.org ------------------------------ End of INFO-VAX 2008.379 ************************