From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,d52a1a44e886b574,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2004-02-22 20:30:12 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!c03.atl99!news.usenetserver.com!diablo.voicenet.com!nntp.abs.net!newsfeed.mathworks.com!bigboote.WPI.EDU!news.tufts.edu!news.fas.harvard.edu!not-for-mail From: Chip Coldwell Newsgroups: comp.sys.dec Subject: meta-data & Mozilla Date: 23 Feb 2004 04:28:11 GMT Organization: Harvard University, Cambridge, Massachusetts Message-ID: NNTP-Posting-Host: frank.harvard.edu Keywords: RMS FDL convert metadata User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (Linux/2.4.20-24.7smp (i686)) Xref: archiver1.google.com comp.sys.dec:17779 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"