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: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-03-01 15:47:15 PST Xref: gmd.de comp.org.decus:2506 comp.os.vms:41244 comp.sys.dec:13712 comp.unix.advocacy:728 Path: gmd.de!newsserver.jvnc.net!netnews.upenn.edu!dsinc!ub!news.kei.com!eff!usenet.ins.cwru.edu!gatech!swrinde!sgiblab!sgigate.sgi.com!olivea!gossip.pyramid.com!sword.eng.pyramid.com!not-for-mail From: bsalem@pyrtech.mis.pyramid.com (Bruce Salem) Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Re: Is VMS Dying? Date: 1 Mar 1994 15:47:15 -0800 Organization: Pyramid Technology Corporation Message-ID: <2l0k63$5a6@pyrtech.mis.pyramid.com> References: NNTP-Posting-Host: pyrtech.mis.pyramid.com In article xmdpeph@fs2.dp7up.com writes: >(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. My experience was in writing a F77 (DEC-FORTRAN) application in 1987 that I had to know the modes of the file to get it to open, that RMS was a layer of administration between me and my file, or a file some other program had created. I don't mind displaying my ignorance here, for your point about the different approaches to files illustrates the tradeoffs well, you trade security for flexibility. My gripe was that I had to determine the modes before I could open the file, not let some utility tell me the modes. >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). What if I want to look at the file as a stream of bits? If I move the file to a non-VMS system I am stuck. I still have to od or dump it in hex to begin to figure out how it is structured and to write an application which can treat it as an indexed file. I hope that somewhere there is some code that I can install on my foreign system just to read RMS indexed files, if I need to do this quickly. >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. People like to complain that UNIX files are just streams of bytes and that files have no internal structure imposed by the OS, leaving too much up to the application. I am no filesystem expert, but large database applications can have their own specially constructed filesystems under UNIX to get the performance of indexed file structures, B+ trees and the like. There is a parallel in the terseness of UNIX commands. But which is easier, to strip something the OS puts in or to add something when you want it? It is true, I can install awk on VMS, but why should I need it in order to strip boilerplate out of the search command put there by DEC to keep MIS types warm and fuzzy? I think that the UNIX approach is better: it is up to the application to add boilerplate, not the OS. Better, run grep on VMS. Bruce Salem