Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!CITHEX.CALTECH.EDU!carl From: carl@CITHEX.CALTECH.EDU (Carl J Lydick) Newsgroups: mod.computers.vax Subject: Re: Stream_LF (again) LONG! Message-ID: <861101135330.06m@CitHex.Caltech.Edu> Date: Sat, 1-Nov-86 16:54:04 EST Article-I.D.: CitHex.861101135330.06m Posted: Sat Nov 1 16:54:04 1986 Date-Received: Tue, 4-Nov-86 00:00:58 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 19 Approved: info-vax@sri-kl.arpa ANALYZE/RMS fails because the last record of the file isn't terminated by a newline. You're trying to output a 5469-byte record to a TERMINAL?????? In a single QIO!!!!!!! Suggestions: Append a record consisting of a newline to the file, and RMS should be happy with the result. Write a program that will read the file with the huge records then send the long records to the terminal in more digestible pieces (say, less than 512 bytes per QIO). You can do this in fortran by opening the file for formatted I/O, using the Q format descriptor to get the recordsize, and reading the record into a buffer using an A format (or a series of buffers using several A formats), being careful to ask for only the number of bytes in the record). You then use several writes, using the $ descriptor (as the last descriptor for the record, as I recall; it's in the manual) to suppress carriage control, to write the data to the terminal.