From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,2ac02b4d782b7917 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,2ac02b4d782b7917 X-Google-Attributes: gid1164f8,public From: "Bill Todd" Subject: Re: RMS (Record Manager System): 16- or more bits ? Date: 2000/01/03 Message-ID: <84r3g9$kbt$1@pyrite.mv.net>#1/1 X-Deja-AN: 567890460 References: <83r8d2$fba@gap.cco.caltech.edu> <84828j$8u1$1@porthos.nl.uu.net> <848na1$pqs$1@porthos.nl.uu.net> <8mhh6scbfqvbkukfk9pg30jt9mnhefm30b@4ax.com> <84ajkv$20p$1@info.service.rug.nl> <84b0g9$lvj$2@porthos.nl.uu.net> <1999Dec28.142924.1@eisner> <84b6eb$pi4$2@porthos.nl.uu.net> <386921B6.C77CF608@us.oracle.com> <84bdjl$1cn$1@porthos.nl.uu.net> <3869413F.3E238258@us.oracle.com> <84d8pf$5k7$1@mailint03.im.hou.compaq.com> <84dpvr$qf1$3@porthos.nl.uu.net> <84em6a$178$1@pyrite.mv.net> <84gamr$ic8$1@pyrite.mv.net> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@mv.com X-Trace: pyrite.mv.net 946934089 20861 199.125.99.42 (3 Jan 2000 21:14:49 GMT) Organization: Why won't Outlook let me leave this blank? X-MSMail-Priority: Normal NNTP-Posting-Date: 3 Jan 2000 21:14:49 GMT Newsgroups: comp.sys.dec,comp.os.vms Jan Vorbrueggen wrote in message news:y4zounmmhh.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de... > "Bill Todd" writes: ... > > But, as I noted above, rolling your own using block I/O has always been an > > option as well (at least for sequential-file-like accessing), and isn't > > really very difficult. > > Direct QIO isn't really an option: for one, many other applications, most of > them parts of VMS, would break, which decreases the attrativeness of the > approach; for another, the good thing about RMS is that all programs get its > benefits, not just the few you have control over (think record locking et al). > In the process, back pointers (see the usual way unformatted I/O is done for > Fortran on Unix systems) could have been added. RMS block I/O is not the same as direct use of QIO (the same distinction I drew in responding to Larry, which you may not have seen), and does effectively support record locking for block-aligned user-structured records (i.e., it locks the block range associated with a record if you read at that granularity - which is admittedly awkward to know beforehand unless you just read the first record block and then as many additional blocks as its size indicates are needed, or just read in a bunch of blocks assuming that if you lock a bit more than necessary for a short time the impact won't be a problem). A file created and populated using RMS block I/O and undefined record format should not present undue problems to other parts of VMS, save that record-oriented utilities won't be able to process it in record-oriented fashion. Since the records are larger than most such utilities expect anyway, the negative impact should be minimal, and functions like backup/restore should still work just fine: are there other specific problems you had in mind? Since I'm not familiar with the 'back pointer' mechanism you mentioned on Unix, I'd be grateful for a brief explanation should you have time. - bill > > Jan