Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* meta-data & Mozilla
@ 2004-02-23  4:28 Chip Coldwell
  2004-02-23 17:35 ` Peter 'EPLAN' LANGSTOEGER
  0 siblings, 1 reply; 2+ messages in thread
From: Chip Coldwell @ 2004-02-23  4:28 UTC (permalink / raw)


I'm surprised that this isn't in the VMS FAQ, but I looked through it
and didn't find it anywhere.

In fact, the problem started with wanting to read the FAQ, in
bookreader format.  I found a link for downloading the FAQ in
bookreader format at

http://h71000.www7.hp.com/wizard/faq/vmsfaq.decw$book

and downloaded it using Mozilla 1.4 on OpenVMS Alpha 7.3-1 with TCPIP
version 5.3 on a PWS600AU.  Then I tried to open the file using the
bookreader program that came with DECWindows (Motif) and I get the
error message "Error reading field in record" and it won't open.

I guessed from the error message that the problem was that Mozilla
downloaded the file in the wrong format.  With ANALYZE/RMS_FILE/FDL I
was able to determine that Mozilla had created a sequential file with
fixed-length records of 512 bytes each.  Then I found some bookreader
files that came with the operating system and discovered that they are
sequential files containing variable length records.

So I editing the FDL that ANALYZE/RMS_FILE/FDL had created for my
downloaded file so that the RECORD section that had read 

RECORD
	BLOCK_SPAN		yes
	CARRIAGE_CONTROL	none
	FORMAT			fixed
	SIZE			512

would read

RECORD
	BLOCK_SPAN		yes
	CARRIAGE_CONTROL	none
	FORMAT			variable
	SIZE			0

and ran CONVERT/FDL.  Guess what?  CONVERT created a file containing
variable-length records that all just happen to contain exactly 512
bytes (i.e. one-for-one the original block structure) and bookreader
gives me the same error.

I think that fundamentally the problem here is that when I downloaded
the file, I didn't get the meta-data that describe the record
structure.  Since they are variable-length records, there really is no
way of guessing what the lengths are unless there is some other sort
of record delimiter in there.

Does anybody have a solution for this?

Chip

-- 
Charles  M. "Chip" Coldwell
"Turn on, log in, tune out"


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: meta-data & Mozilla
  2004-02-23  4:28 meta-data & Mozilla Chip Coldwell
@ 2004-02-23 17:35 ` Peter 'EPLAN' LANGSTOEGER
  0 siblings, 0 replies; 2+ messages in thread
From: Peter 'EPLAN' LANGSTOEGER @ 2004-02-23 17:35 UTC (permalink / raw)


In article <c1bvgr$cek$1@news.fas.harvard.edu>, Chip Coldwell <coldwell@frank.harvard.invalid> writes:
>Does anybody have a solution for this?

Did you try downloading the <faq>.ZIP and extract it on VMS ?

-- 
Peter "EPLAN" LANGSTOEGER
Network and OpenVMS system specialist
E-mail  peter@langstoeger.at
A-1030 VIENNA  AUSTRIA              I'm not a pessimist, I'm a realist


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-23 17:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-23  4:28 meta-data & Mozilla Chip Coldwell
2004-02-23 17:35 ` Peter 'EPLAN' LANGSTOEGER

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox