This is a multipart message in MIME format.
--=_alternative 000F190B8525743F_=
Content-Type: text/plain; charset="US-ASCII"
David J Dachtera <djesys.no@spam.comcast.net> wrote on 05/02/2008 10:34:10
PM:
> norm.raphael@metso.com 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?
>
> As I understand it (probably inaccurate/incomplete), these values are
> really just advisory in nature. They provode some clue as to what is
> reasonably expectable, even if that expectation does not reflect the
> reality of the data.
>
> I read once that some programs use the LRL value at file ((SYS)$)OPEN
> time to initially allocate buffer space.
In this case, EVE refused to open the file until the attribute was
adjusted.
EDT opened it but of course truncated the long record on the way in.
So at least one attribute mattered to at least on application.
I'm still unable to generate 255, 255 from a simple edit, modify, save....
>
> D.J.D.
--=_alternative 000F190B8525743F_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif"><br>
</font>
<br>
<br><font size=2><tt>David J Dachtera <djesys.no@spam.comcast.net>
wrote on 05/02/2008 10:34:10 PM:<br>
<br>
> norm.raphael@metso.com wrote:<br>
> > <br>
> > This shows and output file with<br>
> > <br>
> > Record format: Stream_LF, maximum 255 bytes,
longest 255 bytes<br>
> > <br>
> > but the DUMP/RECORD below shows<br>
> > <br>
> > Record number 120 (00000078), 7626 (1DCA) bytes, RFA(0008,0000,01FB)<br>
> > <br>
> > a record much longer than that.<br>
> > <br>
> > Comments?<br>
> <br>
> As I understand it (probably inaccurate/incomplete), these values
are<br>
> really just advisory in nature. They provode some clue as to what
is<br>
> reasonably expectable, even if that expectation does not reflect the<br>
> reality of the data.<br>
> <br>
> I read once that some programs use the LRL value at file ((SYS)$)OPEN<br>
> time to initially allocate buffer space.</tt></font>
<br>
<br><font size=2><tt>In this case, EVE refused to open the file until the
attribute was adjusted.</tt></font>
<br><font size=2><tt>EDT opened it but of course truncated the long record
on the way in.</tt></font>
<br>
<br><font size=2><tt>So at least one attribute mattered to at least on
application.</tt></font>
<br>
<br><font size=2><tt>I'm still unable to generate 255, 255 from a simple
edit, modify, save....</tt></font>
<br><font size=2><tt><br>
> <br>
> D.J.D.<br>
</tt></font>
--=_alternative 000F190B8525743F_=--
|
|
0
|
|
|
|
Reply
|
norm.raphael (682)
|
5/4/2008 2:42:42 AM |
|
On May 3, 10:42=A0pm, norm.raph...@metso.com wrote:
DJD> > I read once that some programs use the LRL value at file ((SYS)
$)OPEN
DJD> > time to initially allocate buffer space.
>
> In this case, EVE refused to open the file until the attribute was
> adjusted.
I think the TPU default USZ (RMS User Buffer siZe) currently is
min(2048,LRL)
Could be 2000
> I'm still unable to generate 255, 255 from a simple edit, modify, save....=
Of course not.
You are not listening!
(Only minor disrespect intented :-) :-)
Normal RMS (such as used by simple edit) does not do this.
It takes a DECCRTL or similar 'smart' tool, to mess this up.
You have an account on eisner (or an other system with perl) right?
Try this:
$ delete x.x.*
$ x :=3D x.x
$ perl -le "print qq($_ ) x $_ ** 3 for (1..10)" > 'x
$ write sys$output f$file(x,"MRS"), " ", f$file(x,"LRL")
$ def decc$default_lrl 255
$ perl -le "print qq($_ ) x $_ ** 3 for (1..10)" > 'x
$ write sys$output f$file(x,"MRS"), " ", f$file(x,"LRL")
$ set file/attribute=3Dmrs=3D255 'x
$ perl -le "print qq($_ ) x $_ ** 3 for (1..10)" > 'x
$ write sys$output f$file(x,"MRS"), " ", f$file(x,"LRL")
So let me ask again... Who / What wrote the file?
Cheers,
Hein.
|
|
0
|
|
|
|
Reply
|
heinvandenheuvel2 (577)
|
5/4/2008 6:15:04 AM
|
|
|
1 Replies
30 Views
(page loaded in 0.042 seconds)
Similiar Articles: Odd BACKUP error: unsupported file structure ! - comp.os.vms ...... limit Record format: Stream_CR, maximum 0 bytes, longest 96 bytes Record attributes: Carriage return carriage control RMS ... Guy Peleg no longer ... Re: unexpected ... [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... Sampling: What Nyquist Didn't Say, and What to Do About It - comp ...You're building a detector, >not a ... recorder. Right? It records rms volts, amps ... I attribute this to the fact ... >>> >>> Short lines (e.g., 2 or 3 column format) read *much ... top 10 uses for random data compression?? anyone? - comp ...... no-spam.invalid> wrote in message news:41b4a644$1_2 ... Jethro onwards rejects it too, the assembly will attribute ... It might no longer dream alongside respectable running ... Databases and MIDP, Part 1: Understanding the Record Management System... RMS small and flexible -- important attributes for a MIDP subsystem. At the API level, records are ... you're using MIDP 2.0, and want a MIDlet to open a record ... same format ... The OpenVMS Frequently Asked Questions (FAQ)... that can be recorded and re ... of "unexpected" sequential RMS record formats. VFC is a common OpenVMS format ... contain and maintain the RMS file and record attributes. 7/14/2012 11:06:16 AM
|