Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 beta 3/9/83; site nbs-amrf.UUCP Path: utzoo!watmath!clyde!akgua!mcnc!decvax!ittvax!dcdwest!sdcsvax!bmcg!cepu!trwrba!trwrb!sdcrdcf!hplabs!hao!seismo!rlgvax!cvl!umcp-cs!nbs-amrf!hopp From: hopp@nbs-amrf.UUCP Newsgroups: net.unix Subject: Re: VMS text files?! Message-ID: <272@nbs-amrf.UUCP> Date: Thu, 3-May-84 14:32:12 EDT Article-I.D.: nbs-amrf.272 Posted: Thu May 3 14:32:12 1984 Date-Received: Tue, 8-May-84 07:07:15 EDT References: <201@sri-arpa.UUCP> Organization: National Bureau of Standards Lines: 31 >From: Hobbit > >Last I heard, Files-11 sequential format is character stream with records >terminated by CR. This is made very clear in the RMS bible. I don't even >know if RMS *supports* counted records at all.... who ever gave you that idea? > >_H* Oh, I got it from a file dump. Seriously, you must have a very poor translation of the bible. According to my copy of the VAX-11 RMS Reference Manual (for VMS 3.0, Document AA-D031D-TE, page B-2), VAX-11 RMS provides three different record formats: fixed-length, variable-length, and stream. Stream record formats, what you have described, come in three flavors, based on what characters terminate a record; there can be either CR, LF, or [FF,VT,LF,CR/LF] terminators. Stream records are supported only for sequentially organized disk files. Fixed-length records are terminated implicitly by the record length, and are supported by all file organizations. Variable-length records come in two flavors and two major variants. The two flavors are both counted records; one, for use with disk files, has a two-byte binary count field and the other, for use with tape files, has a four-byte ascii (decimal) count field. The two major variants parallel these, but also include a fixed-length control field in each record. The variable-length with fixed-length control formats are not supported for indexed files. -- Ted Hopp UUCP: {seismo,allegra}!umcp-cs!nbs-amrf!hopp National Bureau of Standards ARPA: hopp.nbs-amrf.umcp-cs@udel-relay Metrology A127 BELL: (301)921-2461 Washington, DC 20234