Files-11 - Record-oriented I/O: Record Management Services

Record-oriented I/O: Record Management Services

Record Management Services is the structured I/O layer of the VMS operating system. RMS provides comprehensive program support for managing structured files, such as record-based and indexed database files. The VMS filesystem, in conjunction with RMS, extends files access past simple byte-streams and allows OS-level support for a variety of rich files types. Each file in the VMS filesystem may be thought of as a database, containing a series of records, each of which has one of more individual fields. A text file, for example, is a list of records (lines) separated by a newline character. RMS is an example of a record-oriented filesystem.

There are four record formats defined by RMS:

  • Fixed length - all records in the file have the same length.
  • Variable length - records vary in length, and every record is prefixed by a count byte giving its length.
  • Variable record length with fixed-length control - records vary in length, but are preceded by a fixed-length control block.
  • Stream - record vary in length, and every record is separated from the next one by a termination character. A text file is an example of a stream-format file using line feed or carriage return to separate records.

There are four record access methods, or methods to retrieve extant records from files:

  • Sequential Access - starting with a particular records, subsequent records are retrieved in order until the end of the file.
  • Relative Record Number Access - records are retrieved via a record number relative to the beginning of the file.
  • Record File Address Access - records are retrieved directly by their location in the file (RFA, or Record File Address).
  • Indexed Access - records are retrieved via a key, in a form of key-value mapping.

Read more about this topic:  Files-11

Famous quotes containing the words record, management and/or services:

    The record of one’s life must needs prove more interesting to him who writes it than to him who reads what has been written.
    “I have no name:
    “I am but two days old.”
    What shall I call thee?
    “I happy am,
    “Joy is my name.”
    Sweet joy befall thee!
    William Blake (1757–1827)

    Why not draft executive and management brains to prepare and produce the equipment the $21-a-month draftee must use and forget this dollar-a-year tommyrot? Would we send an army into the field under a dollar-a-year General who had to be home Mondays, Wednesdays and Fridays?
    Lyndon Baines Johnson (1908–1973)

    Working women today are trying to achieve in the work world what men have achieved all along—but men have always had the help of a woman at home who took care of all the other details of living! Today the working woman is also that woman at home, and without support services in the workplace and a respect for the work women do within and outside the home, the attempt to do both is taking its toll—on women, on men, and on our children.
    Jeanne Elium (20th century)