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!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!howard From: Howard S Shubs Newsgroups: comp.sys.dec,comp.os.vms Subject: Re: RMS internals? Date: Sat, 08 Aug 2009 14:03:12 -0400 Organization: = 'INDEXED' Message-ID: References: <4a7c4310$1@flight> <4a7dbb58$0$295$14726298@news.sunsite.dk> NNTP-Posting-Host: p30762fe7414a1fa5266a7c2dc8241d22b9102985cb2447e3.newsdawg.com Mail-Copies-To: nobody User-Agent: MT-NewsWatcher/3.5.3b3 (PPC Mac OS X) X-Face: "S"r{U%bs].&Ud}Pc~~~0a]M:t5l>>EN\1Faw10M9NK1Xq59wo7-"s0S+[{etQorO /Nf-Ci"i9v'MT!R8)J]N[4|2&x1r^Iq&{SB"6dknr0=+6UFb.>+{zMn_1=rw&/V+"d@* ZS5\LoW_ Xref: g2news2.google.com comp.sys.dec:1255 comp.os.vms:20615 In article <4a7dbb58$0$295$14726298@news.sunsite.dk>, Arne Vajh�j wrote: > In that case it is not a really a valid file. I'm not sure how you arrive at this result. A file can have any record. RMS asserts limits which other operating systems do not have to adhere to. So I've written code which "deals" with RMS' limits. > See: > http://h71000.www7.hp.com/doc/731final/4523/4523pro_006.html#fab_mrs Yes, BTDT. Those are RMS-specific limits. If the file had been generated on VMS, maybe they'd be relevant. Since the file was generated elsewhere, they're not. This is a case of VMS being "too nice" and getting in my way. It happens on occasion. > > 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 Yes, and it's that last line I need to account for. Since I only have one kind of test file, I saw an extra byte at the end of the record and took it for gospel. Now I know it for padding and will allow for it in case this record happens to get longer, to an even length, in the future. The product creating the file is from a 3rd party, out of my control. -- Don't bother with piddly crap like "gun control". Life is 100% fatal. Ban it.