Data Storage in File Management System



  • Data Storage in a File

In a traditional file management system, files are organized on a storage media in such a way that makes the tasks of file creation and storing & retrieving of data simple and quick. To achieve this purpose.

data in a file is organized as described below:

Each file is given a unique name. The name of a file usually represents the type of data it contains. For example, a file that contains data of employees of an organization is named as Employee. Such meaningful names help in locating files without looking into their data A file contains records Each record consists of fields.

Fields are placed next to each other in a record. The fields may have fixed-lengths or variable-lengths. Each field is given a unique name reference.

The starting address of each field and its length is used to identify its storage location. The value of the field is stored in its assigned storage location.
To access the value or contents of a field, the name reference of the field is used. The application program reaches the storage location where the contents of the field have been stored to access its contents.



Post a Comment

0 Comments