INFO-VAX Tue, 08 Jul 2008 Volume 2008 : Issue 378 Contents: 226 Transfer complete question Re: 226 Transfer complete question Re: Integrity/Itanium/IA64 OpenVMS Installation/SPL Media in UK? Re: NTP on OpenVMS using TCPIP services Re: Show of support for Distributed NetBeans Re: Symbol Substitution Mystery Re: VMS SAN Primer ---------------------------------------------------------------------- Date: Mon, 7 Jul 2008 20:42:17 -0700 (PDT) From: kiwi-red Subject: 226 Transfer complete question Message-ID: <88dd8da4-0d6a-406c-86ed-5db9dd1e092f@e39g2000hsf.googlegroups.com> 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? 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 ------------------------------ Date: Mon, 7 Jul 2008 22:54:12 -0500 (CDT) From: sms@antinode.info (Steven M. Schweda) Subject: Re: 226 Transfer complete question Message-ID: <08070722541243_202130A9@antinode.info> From: kiwi-red > 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? Why are you looking at _anything_ after "226"? Why are you looking at anything after "2"? http://tools.ietf.org/html/rfc959 [...] 2yz Positive Completion reply The requested action has been successfully completed. A new request may be initiated. [...] ------------------------------------------------------------------------ Steven M. Schweda sms@antinode-info 382 South Warwick Street (+1) 651-699-9818 Saint Paul MN 55105-2547 ------------------------------ Date: Mon, 07 Jul 2008 20:22:40 -0500 From: David J Dachtera Subject: Re: Integrity/Itanium/IA64 OpenVMS Installation/SPL Media in UK? Message-ID: <4872C160.8D75B7BC@spam.comcast.net> David J Dachtera wrote: > > Colin Butcher wrote: > > > > Well, depending on what use you're putting the systems to (especially if > > you're doing contracting or consulting), I recommend DSPP membership and > > obtaining your media kits and license PAKs through the DSPP route. > > > > -- > > Cheers, Colin (http://www.xdelta.co.uk). > > Legacy = Stuff that works properly! > > I'm guessing this was a hobbyist inquiry. > > I'd consider doing I64, also, but for the dearth of media. > > D.J.D. SMS: I did reply to you via e-mail. Hope you got it! D.J.D. ------------------------------ Date: Mon, 07 Jul 2008 17:04:03 -0400 From: "Richard B. Gilbert" Subject: Re: NTP on OpenVMS using TCPIP services Message-ID: JF Mezei wrote: > Would it be correct to state that for a computer to have a "peer" entry, > it would also need to have a "server" entry ? > > aka: one source of reliable time, as well as peers with whom it can also > adjust time ? > > Reason I ask is that without a server, a peer would have no idea of what > stratum it was at (and thus assume 15) and then the other "real" systems > would refuse to peer with it. > > Is this a correct understanding ? A peer SHOULD have at least one server entry but as far as I know, nothing enforces this. N systems peering with each other is nothing but a "circle jerk" if they don't have outside servers. Ideally, each peer should have at least one upstream server that is not shared with any of the other peers. Hardware reference clocks, e.g. GPS receivers, atomic clocks, WWV/WWVH/WWVB/CHU/JJY receivers, etc, can all be counted as "servers" for this purpose. The callsigns given above are not the only time broadcast, they are just the ones I'm most familiar with. ------------------------------ Date: Mon, 07 Jul 2008 22:42:32 -0500 From: "Craig A. Berry" Subject: Re: Show of support for Distributed NetBeans Message-ID: <8sqdnUKJ5vq0f-_VnZ2dnUVZ_hadnZ2d@speakeasy.net> 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. ------------------------------ Date: Mon, 7 Jul 2008 16:57:30 -0700 (PDT) From: AEF Subject: Re: Symbol Substitution Mystery Message-ID: 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? AEF ------------------------------ Date: Mon, 07 Jul 2008 20:21:27 -0500 From: David J Dachtera Subject: Re: VMS SAN Primer Message-ID: <4872C117.252D68D1@spam.comcast.net> JF Mezei wrote: > > etmsreec@yahoo.co.uk wrote: > > > disks and vice versa. It's important to remember too that not all > > storage arrays are equal in the HP range. The MSA1000 and MSA1500 > > didn't support VMS and anything on the same storage array. MSA2000s > > are not supported on VMS *yet*. > > If storage arrays present SCSI disks to VMS, why would one an array need > to be aware of a specific OS ? > > Or why would VMS need to have code specific to an array if the array > prosents standard SCSI interface on standard hardware for communications ? > > (asking to learn, not to question the statements). The answer, in both cases, is "it doesn't". The array is entirely agnostic of what's on the "other end". It presents storage - period. It doesn't need to know what's out there, nor should it care. It's there to present LUNs. Period. VMS has always used a "generic" driver for every class from SCSI to IDE. It needs nothing specific to any storage array, unless it is to enable product-specific functionality which is outside the idea of an array that simply presents storage. That said, I need to clarify some statements I made before: "Zoning" is done to associate host bus adapters ("HBAs") with "fibre Adapters" on the storage array(s). Each has a unique WWID ("World-wide" IDentifier). Associating HBAs with FAs is known as "zoning". "Mapping" is done to associate LUNs with FAs. This enables - but does not of itself provide - "visibility" to those LUNs for the HBAs zoned to the FAs associated with specific LUNs. "Masking" is done at the LUN level, and associates LUNs with HBAs that may have access to the FA(s) via which those LUNs are visible. For example, for an example SAN: Nodes A, B and C are ZONED to FAs 1, 2, 3, 4, 5 and 6 on the array. LUNs 100, 101, 102, ... 234 (in PTL format, for this example) are mapped to FAs 1 thru 6. LUNs 100 thru 145 and 220 thru 234 are masked to be visible to Nodes A, B and C. LUNs 200 thru 217 are masked to be visible only to nodes A and C; node B doesn't need to see them. Crude example, I know, but I hope it at least illustrates the method of madness. D.J.D. ------------------------------ End of INFO-VAX 2008.378 ************************