Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!decwrl!ucbvax!CITHEX.CALTECH.EDU!carl From: carl@CITHEX.CALTECH.EDU.UUCP Newsgroups: mod.computers.vax Subject: Re: Opening Indexed and Relative Files Message-ID: <860704081354.002@CitHex.Caltech.Edu> Date: Fri, 4-Jul-86 11:17:24 EDT Article-I.D.: CitHex.860704081354.002 Posted: Fri Jul 4 11:17:24 1986 Date-Received: Sat, 5-Jul-86 12:45:55 EDT References: <8606261514.AA19534@mitre-bedford.ARPA> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 5 Approved: info-vax@sri-kl.arpa Yes. You simply use the OPEN statement (in FORTRAN, use the equivalent in whatever language you're programming in) specifying the type of record access you want (keyed or sequential). RMS figures out what (if any) keys exist without any further help from the user. If you want to create a new file, you must, of course, specify the keys at creation time.