Re: RMS record much longer that format attribute proclaims.
- From: Hein RMS van den Heuvel <heinvandenheuvel@xxxxxxxxx>
- Date: Wed, 30 Apr 2008 11:43:47 -0700 (PDT)
On Apr 30, 8:35 am, norm.raph...@xxxxxxxxx wrote:
This shows and output file with
Record format: Stream_LF, maximum 255 bytes, longest 255 bytes
but the DUMP/RECORD below shows
Record number 120 (00000078), 7626 (1DCA) bytes, RFA(0008,0000,01FB)
a record much longer than that.
Comments?
Only the obvious... the actual records do not match the file
attributes. So ?
And that 255 is sort of a nice-number: max value for an unsigned byte.
RMS itself would not do that, short of a system crash stopping the
atributes from being flushed out.
Who / What wrote the file? The C-RTL easily could, as it does block
IO, not (RMS) record IO of simple unshared sequential files.
It could have picked up attributes from an earlier version of the
file, if C rtl was used to create it.
And check out the logical name "decc$default_lrl".
That would not happen to be set to 255 would it now?
It the record a 'good one' as far as the application is concerned, or
is it broken ?
I'm sure you know how to 'fix' it, but since you did not indicate
so...:
$ SET FILE/ATTR=(MRS=0,LRL=7627) TEST.LOG
Cheers,
Hein. (taking a quick peek online whilest on family vacation)
.
- Prev by Date: Re: Encompass - Endeavour
- Next by Date: Re: EVA and Alpha Server 4100
- Previous by thread: VMS 30th anniversary 'Oldest VMS system' contest
- Index(es):