Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 8/7/84; site ucbvax.ARPA Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!info-vax From: info-vax@ucbvax.ARPA Newsgroups: fa.info-vax Subject: Locate mode Message-ID: <2702@ucbvax.ARPA> Date: Fri, 19-Oct-84 13:24:26 EDT Article-I.D.: ucbvax.2702 Posted: Fri Oct 19 13:24:26 1984 Date-Received: Sun, 21-Oct-84 11:45:23 EDT Sender: daemon@ucbvax.ARPA Organization: University of California at Berkeley Lines: 19 From: Tony LiHi all, A few months ago, I posted a request for info on RMS's locate mode. Well, no one knew anything about this superbly documented feature. I finally got around to looking at the sources... Normally we're using move mode. Here, when we do a $GET, RMS copies the record from its buffer to ours. If you do a $GET in locate mode, RMS returns a pointer to its buffer. This is returned in RAB$L_RBF and RAB$W_RSZ. Also, sometimes RMS will decide that you have to be in move mode anyway. It'll do this if (1) the record crosses block boundaries, (2) the file is open for update or (3) we're not reading SYS$INPUT. Sigh, Tony ;-)