From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 3717dac89a,a975f64b947c122 X-Google-Attributes: gid3717dac89a,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!d23g2000vbm.googlegroups.com!not-for-mail From: "Hein, Nashua NH" Newsgroups: comp.sys.dec,comp.os.vms Subject: Re: RMS internals? Date: Mon, 10 Aug 2009 07:49:52 -0700 (PDT) Organization: http://groups.google.com Message-ID: <1e27ffb3-e228-450c-aead-22d23950f110@d23g2000vbm.googlegroups.com> References: <4a7c4310$1@flight> <0076b30e$0$7155$c3e8da3@news.astraweb.com> NNTP-Posting-Host: 71.181.50.57 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1249915792 1642 127.0.0.1 (10 Aug 2009 14:49:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 10 Aug 2009 14:49:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d23g2000vbm.googlegroups.com; posting-host=71.181.50.57; posting-account=U1iMPAoAAAC9r8wm0KaW63EcF8sfjFeH User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.37 Safari/530.5,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.sys.dec:1282 comp.os.vms:20658 On Aug 10, 10:11=A0am, Howard S Shubs wrote: > In article , > =A0koeh...@eisner.nospam.encompasserve.org (Bob Koehler) wrote: : > > =A0 =A0Of course, the quick fix in this case is "set file/attributes", = or > > =A0 =A0maybe just changing the realvent FAB or RAB fields after doing a= n > > =A0 =A0$OPEN. =A0But then you have to know what was done wrong by the u= ser. : > You're working on an incorrect assumption. =A0I suggest you read the thre= ad. Not so quick Howard. Bob's suggestion has merit. Yeah you can readily read through the file with $READ (or $QIO). But are you going to add multi-buffering, read-ahead and such? If you change the file to 'undefined', or fixed-512 or such, then you can use RMS $GET and have RMS do the multi buffering ( RAB$V_RAH ) and AST /WAIT support and such. Using SYS$MODIFY you can do that on the fly, after the open. You could even start out with regular gets, in case it is a regular file, and switch to undefined and your private cut & paste segments algorithms if and when you determine that is needed ($GET error). Admittedly the RMS record-io buffers will be limited to 127 blocks, so you can do bigger=3Dbetter with SYS$READ and a RAB64 or QIO fwiw, Hein.