home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 21617 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  3.2 KB

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