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-7-bit Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Sat, 08 Aug 2009 13:52:22 -0400 From: =?ISO-8859-1?Q?Arne_Vajh=F8j?= User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 Newsgroups: comp.sys.dec,comp.os.vms Subject: Re: RMS internals? References: <4a7c4310$1@flight> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4a7dbb58$0$295$14726298@news.sunsite.dk> Organization: SunSITE.dk - Supporting Open source NNTP-Posting-Host: 72.192.23.157 X-Trace: news.sunsite.dk DXC=kTc[[gS;=Z3jd^7_dR6Ih5YSB=nbEKnk;E4O[5j5bPo4JPe3\kP5EU1KBm9cfh9BS4M2;kT<[:>[1bWAk_GH6G=8l;UM7G=AXU3 X-Complaints-To: staff@sunsite.dk Xref: g2news2.google.com comp.sys.dec:1253 comp.os.vms:20612 Howard S Shubs wrote: > Not specifically. I'm reading records of whatever length using block > reads and RAB64 to get larger buffers, so I need to parse out the > records myself. The record length I'm specifically working on is over > 33000 bytes long. In that case it is not a really a valid file. See: http://h71000.www7.hp.com/doc/731final/4523/4523pro_006.html#fab_mrs > But I figure it'd be a Good Idea to implement every record type I can. > Given the link sent earlier, I'm a little concerned about other possible > implementations of VARIABLE records. I'll check that out on Monday to > make sure I've covered remaining bases. The variable format is welldefined: 2 bytes with length data butes 0 or 1 bytes to fill to even number of bytes > I find it kind of funny. The records I'm receiving alternate. I get > one record of 32767 bytes, then a record of 330 bytes, completing the > *actual* record length. It repeats until I have all the records. Fun! > I'm not assuming it'll always work that way, note. If you have an invalid file, then it is not surprising to see weird results. Arne