INFO-VAX Fri, 23 May 2008 Volume 2008 : Issue 286 Contents: Another Flex/VMS example - Browsing the ACCOUNTNG.DAT file Re: Another Flex/VMS example - Browsing the ACCOUNTNG.DAT file Re: FTPand SSH security Re: Odd backup corruption Re: OT: Unix equivalent of SET PROC/SUSPEND? Re: OT: Unix equivalent of SET PROC/SUSPEND? Re: OT: air-con redundancy? Re[2]: FTPand SSH security Re: RZ25-E specs setting socket connect timeout RE: setting socket connect timeout Re: setting socket connect timeout RE: setting socket connect timeout Re: setting socket connect timeout Re: setting socket connect timeout Re: SFTP distorts certain types of files when moving them to Windows Re: SMTP_EXCMAXHOP Re: VAX Media Re: VAX Media Re: VAX Media Re: VMS 30th anniversary 'Oldest VMS system' contest ---------------------------------------------------------------------- Date: Thu, 22 May 2008 23:35:08 -0400 From: "Peter Weaver" Subject: Another Flex/VMS example - Browsing the ACCOUNTNG.DAT file Message-ID: <02f601c8bc86$041df1d0$2802a8c0@CHARONLAP> I finally got enough free time to play with my Flex experiment again. It is not fully polished but it is good enough (I hope) to show as an example. Maybe someday I will get more time to play with it and polish it, or maybe someone reading this will take the task on. I took an old Fortran program I had (IIRC it came from DSNLink) that dumped out the ACCOUNTNG.DAT file and modified it to dump the data in XML format. Then I created the .mxml file that shows up to 20 rows (depending on the size of your web browser's window) of the file in a table. The Fortran program and .mxml file were both created using plain old EDIT/TPU, the .mxml file was compiled into the .swf using the free flex program loaded on my IA64 system. The IA64 system can compile the code in about 35 seconds, my Alpha 800 5/500 takes over 3 minutes to do the same job. As far as using the program goes, it should be fairly easy. If you click on a row then the details of that row are shown below. You can also click on the tops of each column to sort the records based on that column (OK, there are still problems here since it treats every number as text, if anyone figures that bug out then let me know) and you can add or remove columns by clicking on the boxes in the detail area. Depending on how big my accounting file is it may take a while to load the table. I was testing this using a file with over 4,000 records and it took 30 or 40 seconds to load on my LAN. Since the XML file for 4,000 records is over 4 MB it may take a while to download. Just for privacy sake I replaced the first seven characters of the usernames with the characters "private" but that modification would be easy to take out if anyone wants to try this on their own system. If you want to try it on my system then point your browser at http://www.weaverconsulting.ca/accountng.swf. If you want to try it on your own system or try to make it better then send me an email asking for the source code. Peter Weaver www.weaverconsulting.ca www.openvmsvirtualization.com www.vaxvirtualization.com www.alphavirtualization.com ------------------------------ Date: Fri, 23 May 2008 07:00:07 +0200 From: =?ISO-8859-1?Q?Jean-Fran=E7ois_Pi=E9ronne?= Subject: Re: Another Flex/VMS example - Browsing the ACCOUNTNG.DAT file Message-ID: <48364f5a$0$5856$426a74cc@news.free.fr> Peter Weaver wrote: [snip] > As far as using the program goes, it should be fairly easy. If you click on > a row then the details of that row are shown below. You can also click on > the tops of each column to sort the records based on that column (OK, there > are still problems here since it treats every number as text, if anyone > figures that bug out then let me know) and you can add or remove columns by > clicking on the boxes in the detail area. > You have to specify Array.NUMERIC when you call the sortOn Array method. for example: myarray.sortOn('item', Array.NUMERIC); [snip] JFP ------------------------------ Date: Fri, 23 May 2008 08:48:49 +1000 From: Gremlin Subject: Re: FTPand SSH security Message-ID: <_ZGdnZTxssXMZajVnZ2dnUVZ_qHinZ2d@posted.internode> Bob Koehler wrote: > In article , Gremlin writes: > >> Actually, Nessus *does* know about VMS and can identify it. > > Phbbbbbbbbt. > > Nessus claims my VXT is running VMS, not possible. Nessus claims > there are potentially worrisome ports open on my VXT and my VMS > systems that no port scanner nor manual TELNET to that port can > open (not to mention I've made sure my IP stack on VMS is set to not > honor those port requests). Nessus assumes that if you are running a > particular version of the BIND protocol, then you are using the > published source for that protocol with it's bugs... > > That's just a start of Nessus' foolishness I've had to deal with. > And, without wishing to start a war, it does the same about most OS - it is just a tool, it requires intelligent analysis, which is where COV comes in.... So, any ideas about how to stop the FTP verison from displaying? ------------------------------ Date: Thu, 22 May 2008 16:40:20 -0800 From: glen herrmannsfeldt Subject: Re: Odd backup corruption Message-ID: Tom Wade wrote: (snip) > $ backup temp-input.ps temp-backup.ps > $ diff temp-input.ps temp-backup.ps > File DKA0:[TEMP]TEMP-INPUT.PS;1 > 119 GetPageDeviceName @ type @/nametype ne ~/stringtype ne > and{!/none}if(.)5 > 120 -1 1{^ length add}for string 6 1 $ 5 ^ 5{~ 1 ^ cvs length 1 ^ > length 1 ^ > ****** > File DKA0:[TEMP]TEMP-BACKUP.PS;1 > 119 GetPageD @/nametype ne ~/stringtype ne and{!/none}if(.)5 > 120 -1 1{^ length add}for string 6 1 $ 5 ^ 5{~ 1 ^ cvs length 1 ^ > length 1 ^ > ************ (snip) Are you comparing the original file to the backup output file? If so, is that supposed to work? I believe you have to restore the file to get the original back again. If that isn't what you are doing, then ignore this. My VMS system is currently not running, so I can't look up the HELP for BACKUP. -- glen ------------------------------ Date: Thu, 22 May 2008 17:17:41 -0800 From: glen herrmannsfeldt Subject: Re: OT: Unix equivalent of SET PROC/SUSPEND? Message-ID: <8dWdnajEBveIkKvVnZ2dnUVZ_j-dnZ2d@comcast.com> David Mathog wrote: (snip) > Oddly in the many years since we moved over to Unix this has not come up > before, renice -15 has been enough to knock hoggish programs down to > size. Today a user is running something that is starting a lot of very > fast small jobs and it is bogging down a (small) Solaris system, even > though the bash shell (and everything below it) have been reniced. > I think maybe this is because he's working on an NFS mounted directory, > and doing a lot of file creation in a directory which already has over > 30000 files. Last I knew (maybe five years ago) that really slowed down Solaris NFS servers. It seems that many unix systems (including Solaris) do a linear search through the directory. That gets slow as more and more files are created. -- glen ------------------------------ Date: Thu, 22 May 2008 23:44:14 -0400 From: JF Mezei Subject: Re: OT: Unix equivalent of SET PROC/SUSPEND? Message-ID: <48363e73$0$7288$c3e8da3@news.astraweb.com> Not sure if this has been mentioned already. suspends an interactive process and returns control to parent. "bg" from the parent reactivates the suspended process and brings it to foreground. Not sure how command mode can be used to suspect a separate process though. ------------------------------ Date: Thu, 22 May 2008 20:59:00 -0500 From: David J Dachtera Subject: Re: OT: air-con redundancy? Message-ID: <483624E4.B46395E2@spam.comcast.net> "Richard B. Gilbert" wrote: > > Anton Shterenlikht wrote: > > Our supercomp (bris.ac.uk/acrc/hpc.htm) is out of service once again: > > > > "Dear all, the MVB machine room suffered a total air-con failure > > this morning leading to BlueCrystal effecting its automatic > > shutdown procedure. Estates are currently tracing the cause and thus > > we can't at present give an expected time for resumption of service." > > > > I wonder, in the disaster tolerant world, do you budget for the > > air-con redundancy as well? If yes, do you put a second, redundant > > air-con system in the same machine room, or just failover to another > > air conditioned machine room? > > > > Most of the places I worked at had redundant, either dual or N+1, air > conditioning systems. It doesn't always work! One place had two > failures in the same day. Naturally, it was the hottest day of the year! Naurally, because if one system is designed wrong, chances are the backup system has the same faults or worse. Where I'm at, the condensing units are in a west-facing wall and get the afternoon sun rather directly for the last four hours of the day. Guess what happens to us around "quitting time" when the OAT heads into the three-digit range ... ? D.J.D. ------------------------------ Date: Fri, 23 May 2008 09:41:31 +0500 From: Valentin Likoum Subject: Re[2]: FTPand SSH security Message-ID: <1534957654.20080523094131@ncc.volga.ru> On 22.05.2008 Bob Koehler wrote: > In article , > Gremlin writes: >> Actually, Nessus *does* know about VMS and can identify it. > Phbbbbbbbbt. > Nessus claims my VXT is running VMS, not possible. Nessus claims In our case it claims our ES40 is actualy an HP network printer :) -- Best regards, Valentin valentin.likoum at ncc dot volga dot ru ------------------------------ Date: Thu, 22 May 2008 17:30:29 -0800 From: glen herrmannsfeldt Subject: Re: RZ25-E specs Message-ID: <8dWdnavEBveOjavVnZ2dnUVZ_j-dnZ2d@comcast.com> Slor wrote: (snip) > Believe it or not, I'm using this drive (which I pulled from an old DEC > storage expansion) with a hard drive interface on an 8-bit Atari computer. > :) I needed the correct heads and cylinders for the controller interface. SCSI is block addressed, so all you really need are numbers that multiply to the appropriate number of blocks, or slightly less. -- glen ------------------------------ Date: Thu, 22 May 2008 11:39:40 -0700 (PDT) From: tadamsmar Subject: setting socket connect timeout Message-ID: I am trying to write some production code based on: tcpip $examples:tcpip$tcp_client_qio.c The connect qiow (with the io$_access function code) times out in75 seconds. I can find documentation that says I can change that timeout for this socket (I don't want to change the system timeout). But I can't figure out how to change the timeout. This is for a device on a small isolated intranet, so I what to use a shorter timeout. Does anyone know how to change the timeout? ------------------------------ Date: Thu, 22 May 2008 15:28:42 -0400 From: "Dan Allen" Subject: RE: setting socket connect timeout Message-ID: <004901c8bc42$0b9ea970$1f3a0681@sdct.nist.gov> > -----Original Message----- > From: tadamsmar [mailto:tadamsmar@yahoo.com] > Sent: Thursday, May 22, 2008 2:40 PM > To: Info-VAX@Mvb.Saic.Com > Subject: setting socket connect timeout > > I am trying to write some production code based on: tcpip > $examples:tcpip$tcp_client_qio.c > > The connect qiow (with the io$_access function code) times > out in75 seconds. I can find documentation that says I can > change that timeout for this socket (I don't want to change > the system timeout). But I can't figure out how to change > the timeout. This is for a device on a small isolated > intranet, so I what to use a shorter timeout. > > Does anyone know how to change the timeout? > My documentation is quite old but it did contain a statement about timeouts just as you describe. I expected to find the timeout functionality in IO$SETMODE but I didn't.... Dan ------------------------------ Date: Thu, 22 May 2008 13:31:45 -0700 (PDT) From: tadamsmar Subject: Re: setting socket connect timeout Message-ID: <61e7a088-b6ba-4d54-b551-1b3d0075189d@a1g2000hsb.googlegroups.com> On May 22, 3:28=A0pm, "Dan Allen" wrote: > > -----Original Message----- > > From: tadamsmar [mailto:tadams...@yahoo.com] > > Sent: Thursday, May 22, 2008 2:40 PM > > To: Info-...@Mvb.Saic.Com > > Subject: setting socket connect timeout > > > I am trying to write some production code based on: tcpip > > $examples:tcpip$tcp_client_qio.c > > > The connect qiow (with the io$_access function code) times > > out in75 seconds. I can find documentation that says I can > > change that timeout for this socket (I don't want to change > > the system timeout). =A0But I can't figure out how to change > > the timeout. =A0This is for a device on a small isolated =A0 > > intranet, so I what to use a shorter timeout. > > > Does anyone know how to change the timeout? > > My documentation is quite old but it did contain a statement about timeout= s just > as you describe. I expected to find the timeout functionality in IO$SETMOD= E but > I didn't.... > > Dan- Hide quoted text - > > - Show quoted text - Since I posted, I found that there is an extended characteristics buffer specfied as p2 (see below) but I can't get it to work. The code runs, but I still get a 75 second timeout Format status =3D SYS$QIO(efn, chan, IO$_SETMODE | IO$M_CTRL, iosb, astadr, astprm, 0, address, 0, 0, 0, 0) Argument p2=3Daddress OpenVMS usage: vector_word_unsigned I tried the address of descriptor for 6 byte item with short id =3D 4 and long value =3D 20 Documented here: http://www.process.com/tcpip/tcpware57docs/Programmer/Ch03.htm ------------------------------ Date: Thu, 22 May 2008 17:31:26 -0400 From: "Dan Allen" Subject: RE: setting socket connect timeout Message-ID: <005001c8bc53$30e2da60$1f3a0681@sdct.nist.gov> =20 > -----Original Message----- > From: tadamsmar [mailto:tadamsmar@yahoo.com]=20 > Sent: Thursday, May 22, 2008 4:32 PM > To: Info-VAX@Mvb.Saic.Com > Subject: Re: setting socket connect timeout >=20 > On May 22, 3:28=A0pm, "Dan Allen" wrote: > > > -----Original Message----- > > > From: tadamsmar [mailto:tadams...@yahoo.com] > > > Sent: Thursday, May 22, 2008 2:40 PM > > > To: Info-...@Mvb.Saic.Com > > > Subject: setting socket connect timeout > > > > > I am trying to write some production code based on: tcpip=20 > > > $examples:tcpip$tcp_client_qio.c > > > > > The connect qiow (with the io$_access function code)=20 > times out in75=20 > > > seconds. I can find documentation that says I can change that=20 > > > timeout for this socket (I don't want to change the=20 > system timeout). =A0 > > > But I can't figure out how to change the timeout. =A0This is for a = > > > device on a small isolated intranet, so I what to use a shorter=20 > > > timeout. > > > > > Does anyone know how to change the timeout? > > > > My documentation is quite old but it did contain a statement about=20 > > timeouts just as you describe. I expected to find the timeout=20 > > functionality in IO$SETMODE but I didn't.... > > > > Dan- Hide quoted text - > > > > - Show quoted text - >=20 > Since I posted, I found that there is an extended=20 > characteristics buffer specfied as p2 (see below) >=20 > but I can't get it to work. The code runs, but I still get a 75 > second timeout >=20 > Format >=20 > status =3D SYS$QIO(efn, chan, IO$_SETMODE | IO$M_CTRL, iosb,=20 > astadr, astprm, 0, address, 0, 0, 0, 0) >=20 > Argument >=20 > p2=3Daddress OpenVMS usage: > vector_word_unsigned >=20 > I tried the address of descriptor for 6 byte item with short=20 > id =3D 4 and long value =3D 20 >=20 > Documented here: >=20 > http://www.process.com/tcpip/tcpware57docs/Programmer/Ch03.htm That document says you can also specify the timeout as P6 of the QIO(W) = and it takes precedence over anything specified in the extended characteristics = block (if present). Have you tried that? Unfortunately I don't have a system = to experiment with.... Dan=20 >=20 ------------------------------ Date: Fri, 23 May 2008 07:49:32 +1000 From: Jim Duff Subject: Re: setting socket connect timeout Message-ID: <4835ea6c$1@dnews.tpgi.com.au> tadamsmar wrote: > On May 22, 3:28 pm, "Dan Allen" wrote: >>> [snip] >>> I am trying to write some production code based on: tcpip >>> $examples:tcpip$tcp_client_qio.c >>> [snip] >>> Does anyone know how to change the timeout? >> My documentation is quite old but it did contain a statement about timeouts just >> as you describe. I expected to find the timeout functionality in IO$SETMODE but >> I didn't.... >> >> [snip] > > Since I posted, I found that there is an extended characteristics > buffer specfied as p2 (see below) > > but I can't get it to work. The code runs, but I still get a 75 > second timeout > > Format > > status = SYS$QIO(efn, chan, IO$_SETMODE | IO$M_CTRL, iosb, astadr, > astprm, 0, address, 0, 0, 0, 0) > > Argument > > p2=address OpenVMS usage: > vector_word_unsigned > > I tried the address of descriptor for 6 byte item with > short id = 4 and long value = 20 > > Documented here: > > http://www.process.com/tcpip/tcpware57docs/Programmer/Ch03.htm Hmm, it's difficult to determine which IP stack you are using. First you are looking in the TCP/IP Services examples, then you quote from a TCPware manual... I'm assuming it's TCP/IP Services, and not Process Software's TCPware. You need to look at the TCP$C_TCP_KEEPINIT argument for a IO$_SETMODE call to $QIO(W). It's documented here: Jim. -- www.eight-cubed.com ------------------------------ Date: Fri, 23 May 2008 06:04:33 +0800 From: "Richard Maher" Subject: Re: setting socket connect timeout Message-ID: Hi, > Does anyone know how to change the timeout? Search for connect_timeout in http://manson.vistech.net/t3$examples/demo_client_tcp_ip.cob Or, due to the Year-Zero program instigated by Ann of Web Services, we are prettending that VMS 3GL development never existed and are killing off our stinking legacy customers as quickly as we can because they are an embarassment to us and upset our sensibilities, so you may wish to look at Tier3Socket.java instead? Regards Richard Maher PS. I think you need OPER priv to set the timeout with TCPWare (Not sure about Multinet?) "tadamsmar" wrote in message news:fa2bfaed-b84f-4a39-bf7f-80573728faee@s50g2000hsb.googlegroups.com... > I am trying to write some production code based on: tcpip > $examples:tcpip$tcp_client_qio.c > > The connect qiow (with the io$_access function code) times out in75 > seconds. I can find documentation that says I can change that timeout > for this socket (I don't want to change the system timeout). But I > can't figure out how to change the timeout. This is for a device on a > small isolated intranet, so I what to use a shorter timeout. > > Does anyone know how to change the timeout? ------------------------------ Date: Thu, 22 May 2008 20:54:53 -0500 From: David J Dachtera Subject: Re: SFTP distorts certain types of files when moving them to Windows Message-ID: <483623ED.C98D2B1C@spam.comcast.net> ami.kurtser@gmail.com wrote: > > On May 21, 4:53 pm, koeh...@eisner.nospam.encompasserve.org (Bob > Koehler) wrote: > > In article <831908ac-b5e8-49a8-89c5-ecdc70b46...@l64g2000hse.googlegroups.com>, ami.kurt...@gmail.com writes: > > > > > We tried it also with and without the "binary" command. > > > > I've not had any problem using Filezilla. You _must_ transfer > > the file as _binary_ at every step. What are you using to get > > these Windows executables onto the VMS system to begin with? > > To all the responders: > > 1. These Windows executables arrived to the VMS system using > pathworks. > They are just fine, and untill now they were moved to the set of > Windows servers using a product called > FastCopy. Since the company behind FastCopy stopped supporting it > for the newest versions of > OpenVMS, we're trying to prepare an alternative solution. Please > note, as I wrote before, that using ftp > was successful (that is: the executables remained legitimate > windows executables). > 2. We used binary, as I noted. Didn't help. > 3. There are files which contain binary data and was sent OK with > sftp. On the other hand, all executable > were corrupted when using sftp (and were sent OK when using > ftp...). That's as far as I was able to > observe about it. > 4. The TCP/IP stack we are running on VMS is TCP/IP Servcies for > openVMS (replying to > David J Dachtera's question). ...and, as I mentioned off-line, if you have a support contract, be sure to open a ticket with support. The key people you need are likely at the VMS BootCamp this week, however. D.J.D. ------------------------------ Date: 23 May 2008 05:34:42 GMT From: "David Weatherall" Subject: Re: SMTP_EXCMAXHOP Message-ID: <69n3biF34768kU1@mid.individual.net> JF Mezei wrote: > Jan-Erik Söderholm wrote: > > Hi. > > > > The HELP /MESS for SMTP_EXCMAXHOP says : > > > > > Explanation: > > > The number of RFCs received by headers in an > > > incoming mail message exceeded the SMTP > > > configuration's HOP_COUNT_MAXIMUM setting. > > > > I've been looking for that setting, but can't > > find it. Any thoughts ? > > > The sky is blue. (you did ask for any thought :-) > > > TCPIP HELP SET CONF SMTP /HOP_COUNT_MAXIMUM > > Managing TCPIP Services is an artform because parts are done via TCPIP > and parts are done in unix-like configuration files. This one isn't in > the SMTP.CONFIG file :-) Why did read 'unix-like corruption' files :-) Age! The price of experience; to quote my father quoting... Cheers - Dave -- ------------------------------ Date: Thu, 22 May 2008 20:47:29 -0500 From: David J Dachtera Subject: Re: VAX Media Message-ID: <48362231.85563741@spam.comcast.net> Marty Kuhrt wrote: > > JF Mezei wrote: > > John Santos wrote: > > > >> I think downloading from some cooperative fellow hobbyist is also > >> okay, but I'm not certain of that. Putting up a copy of the kits > >> on the Internet, publicly accessible, appears *not* to be okay, > > > > Making a kit available for someone to download does not imply that it > > needs to be "publically accessible" on the internet. > > > > Since HP has abandonned new developpement of VAX, and since it no longer > > sells new VAXen, making VAX kits publically available for download would > > not hurt HP revenus in one bit. > > > > HP employees have often said that VAX customers are not interested in > > upgrading. So if they haven't upgraded to 7.3 by now, they aren't going > > to upgrade to 7.3 ever. Hence no loss of revenu at all. > > > > Heck. HP could just seed some BitTorrent site with the VAX distribution. > > Oh, I forgot, there is no Bittorrent client for VMS. > > Yes there is. Link, please? D.J.D. ------------------------------ Date: Thu, 22 May 2008 22:09:21 -0400 From: =?ISO-8859-1?Q?Arne_Vajh=F8j?= Subject: Re: VAX Media Message-ID: <48362746$0$90271$14726298@news.sunsite.dk> David J Dachtera wrote: > Marty Kuhrt wrote: >> JF Mezei wrote: >>> John Santos wrote: >>>> I think downloading from some cooperative fellow hobbyist is also >>>> okay, but I'm not certain of that. Putting up a copy of the kits >>>> on the Internet, publicly accessible, appears *not* to be okay, >>> Making a kit available for someone to download does not imply that it >>> needs to be "publically accessible" on the internet. >>> >>> Since HP has abandonned new developpement of VAX, and since it no longer >>> sells new VAXen, making VAX kits publically available for download would >>> not hurt HP revenus in one bit. >>> >>> HP employees have often said that VAX customers are not interested in >>> upgrading. So if they haven't upgraded to 7.3 by now, they aren't going >>> to upgrade to 7.3 ever. Hence no loss of revenu at all. >>> >>> Heck. HP could just seed some BitTorrent site with the VAX distribution. >>> Oh, I forgot, there is no Bittorrent client for VMS. >> Yes there is. > > Link, please? I don't use BitTorrent on any platform. But I know that BitTorrent clients in Java exist. They should run on VMS (assuming you have Java). Arne ------------------------------ Date: Fri, 23 May 2008 00:10:43 -0400 From: JF Mezei Subject: Re: VAX Media Message-ID: <483644fa$0$31247$c3e8da3@news.astraweb.com> to: A J Schroeder: I responded to your private query. Unfortunatly, you are using a hotmail account and hotmail tends to discard without warning legitimate emails. ------------------------------ Date: Thu, 22 May 2008 17:48:20 -0800 From: glen herrmannsfeldt Subject: Re: VMS 30th anniversary 'Oldest VMS system' contest Message-ID: <8dWdnarEBvfciavVnZ2dnUVZ_j-dnZ2d@comcast.com> Rich Jordan wrote: > On April 22nd, HP supposedly selected the winner of an Itanium server > based on the age of the oldest running system registered with them. I > didn't expect to win with my VS3100-30 but I did get nudged early in > April to validate the entry, which I did, so I know things were moving > at the time. Did you get your T-shirt? I got mine. I didn't really expect to win, but the shirt didn't seem a bad prize. -- glen ------------------------------ End of INFO-VAX 2008.286 ************************