4.1 Introduction

RMS, the Record Management System, is the nucleus of the C/Base software. RMS provides facilities to store and retrieve data records in RMSfiles. This chapter describes the process of creating and modifying RMSfiles. RMSfiles can be accessed by pathname or by logical name (see Chapter 2, Databases for information about logical names).

An RMSfile is a collection of data organized into records and fields, and consists of the following component files (see C/Base Utilities Manual Chapter 4, RMS Programming Guide for more information about RMS):

gifs/20000000.gif RMS data file

gifs/20000000.gif RMS dictionary file

gifs/20000000.gif RMS index file (optional)

The RMS data file is a collection of fixed length records; each record contains one or more data fields, that are defined when you create the RMSfile. This file stores the actual data contents.

The RMS dictionary file defines the record structure, access method of the primary key, and the key structure of the RMSfile. In other words, the RMS dictionary file describes the structure of the RMSfile.

The RMS index file contains the indexes for an RMSfile. If the access method for an RMSfile is indexed, or secondary keys have been defined, an RMS index file is created to contain the indexes.

An RMS definition file describes the record structure, primary key access method, and key structure of an RMSfile. The RMS definition file is a template for creating an RMSfile. After you create the RMSfile, you could modify the RMS definition file and use it to create a different RMSfile without effecting the first RMSfile.