home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!news.ans.net!cmcl2!rlgsc.com!gezelter
- From: gezelter@rlgsc.com
- Newsgroups: comp.os.vms
- Subject: Re: VMS file structure?
- Message-ID: <1993Jan21.093655.334@rlgsc.com>
- Date: 21 Jan 93 09:36:55 EST
- References: <C16JI3.4Ln@nmrdc1.nmrdc.nnmc.navy.mil>
- Organization: Robert Gezelter Software Consultant, Flushing, NY
- Lines: 64
-
- In article <C16JI3.4Ln@nmrdc1.nmrdc.nnmc.navy.mil>, dsc3pzp@nmrdc1.nmrdc.nnmc.navy.mil (Philip Perucci) writes:
- > Can someone shed ANY "light" on VMS file structure for me?
- > I am used to Unix and MS-LOSS where a file is simply a sequence of
- > bytes terminated by an EOF character (or preceeded by a file length).
- > Very simple.
- >
- > Am also used to IBM MVS, where there is ISAM, VSAM, BDAM, BSAM,
- > "sequetial data-sets", "partitioned data-sets", etc...!
- >
- > But what about VMS? Is VMS like IBM (go ahead - FLAME ME) in that
- > files have a block-size and record-length? If so, how does one do
- > a binary "ftp"? Must you set the block/record size manually?
- > BTW, I use Wollongong for TCP/IP.
- >
- > --
- > ===========================================================================
- > phil perucci | "Any opinions expressed are solely my own views and
- > ssb1pzp@digex.com | do not reflect the position of any organization"
- > ===========================================================================
- --
- Phil,
-
- A full discussion of all of the details of the record structure
- under VMS could make for a very long post.
-
- First, for the purists out there, what you are really asking is
- "What RECORD structures does VMS support?" (FILE structure refers
- to the structure of a disk volume, analogous to an IBM VTOC or
- the FAT under DOS).
-
- The answer to your question is: YES. VMS supports the following
- types of records in files (I am writing this in a bit of a hurry,
- so my apologies if I leave somebody's favorite out):
-
- - Fixed Length records
- - Variable Length counted records
- - Stream files (CR-terminated)
- - Stream files (LF-terminated)
- - Relative files
- - Indexed files
- - Totally unstructured files
-
- All of the file types except for the last are provided as part of
- the standard VMS Run Time Library. The facility is referred to as
- RMS (Record Management Services). The use of RMS is strongly
- advised, however it is not mandatory (the reason for the last
- entry on my list).
-
- However, bypassing RMS is very unusual, the range of supported
- record formats and the convenience of using RMS is much faster
- and easier than "rolling one's own".
-
- I hope that the above information is of assistance. If I have
- been unclear, or if I can be of further assistance, please feel
- free to contact me by Email or phone.
-
- - Bob
- +--------------------------------------------------------------------------+
- | Robert "Bob" Gezelter E-Mail: gezelter@rlgsc.com |
- | Robert Gezelter Software Consultant Voice: +1 718 463 1079 |
- | 35-20 167th Street, Suite 215 Fax: (on Request) |
- | Flushing, New York 11358-1731 |
- | United States of America |
- +--------------------------------------------------------------------------+
-