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!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!newsfeed01.chello.at!newsfeed02.chello.at!news.hispeed.ch.POSTED!not-for-mail From: "P. Sture" Newsgroups: comp.sys.dec,comp.os.vms Subject: Re: RMS internals? Organization: Relative, maximum record number: 10 References: <4a7c4310$1@flight> <4a7dbb58$0$295$14726298@news.sunsite.dk> User-Agent: MT-NewsWatcher/3.5.2 (PPC Mac OS X) Date: Mon, 10 Aug 2009 17:57:05 +0200 Message-ID: X-Complaints-To: abuse@hispeed.ch NNTP-Posting-Host: 80.219.80.54 (80.219.80.54) NNTP-Posting-Date: Mon, 10 Aug 2009 17:59:58 +0200 X-Trace: 5edff4a8043fef57ef59300758 Xref: g2news2.google.com comp.sys.dec:1283 comp.os.vms:20661 In article , Howard S Shubs wrote: > 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. Before VMS COBOL had the ability to produce non-VFC REPORT files, it used the fixed part of the record to insert line and form feeds. This was fine if you were outputting to a VMS printer, but not if you wanted to transfer the file to a PC and print from there. I did a similar exercise with those files in the early 1990s, reading by block and unpacking the records myself. IIRC the only problem I ran into was that I hadn't realised that records with an odd number of bytes were padded with a null filler byte, presumably so that each record started on a word boundary. -- Paul Sture