From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,47a06d19e281eb8d X-Google-Attributes: gidf7344,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-ArrivalTime: 1994-03-01 07:27:36 PST Xref: gmd.de comp.org.decus:2502 comp.os.vms:41230 comp.sys.dec:13706 comp.unix.advocacy:724 Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!convex!seas.smu.edu!mic!dp7up!usenet From: xmdpeph@fs2.dp7up.com Subject: Re: Is VMS Dying? Message-ID: Sender: usenet@dp7up.com (News Administration account) Organization: Dr Pepper / The Seven-Up Co. X-Newsreader: AIR News 2.0 (SPRY, Inc.) Date: Tue, 1 Mar 1994 15:27:36 GMT In article , greg@bronze.ucs.indiana.edu (Gregory R. TRAVIS) writes: >Not that I feel good about responding to Carl's knee-jerk vindictiveness.. > >In <2ksbn0$run@gap.cco.caltech.edu> carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes: > >[About RMS] > >>Package? It's a part of the OS. > >Software stands between the user and the machine, Carl. > >>OK, shit-for-brains. Let's examine your claim. Suppose you've got a binary >>file that's got records of varying length. I.e., ANY character can appear in >>ANY record. Not all records are the same length. How do you tell, under UNIX, >>where a record ends? Answer: You write your own version of a subset of RMS to >>run under Unix. Second question: If you want a file that obeys Unix' >>deficient semantics, how do you do it under VMS? Answer: Ask RMS to create a >>stream file. > >Carl, can you post an example of this? Let's assume that the record >separator is ETX and that you're trying to fill a C structure >from each record. Please post examples in both UNIX and VMS of how >to do this. > >greg (not defending Carl's posts) I think that his point is that under VMS files have a structure that is independant of the applications involved. For example, if you are given a file with no other information about it you can (with no other information) view the file as a groupof records (you wouldn't need to know that ETX is the record separator). VMS offers a number of different file formats to suit different needs. VMS also supports non-structured (Unix-like) files that are simply a stream of bytes -- it is then up to the application to deal with the data. VMS also offers different types of files, including indexed (without additional software). This is significant, the indexes are supported directly by VMS -- if I move the file to another VMS machine it will still work, if I don't have the application I can still do something with it, etc. In addition all utilities and applications will support the indexed file (if they open it sequentially they will just get the records back in the pre-defined order). I find itinteresting that the industry has 2 opposite trends. The relational group that insists that data should be independant of program (more like the VMS approach) and the Unix group that says that operating systems should stay out of the data business, that's an application issue.