Data Dictionary Files and Record Layouts

The data dictionary is made up of the files listed below. The specific topics describe the field layout of each file.

Data Dictionary Files

File Name

Description

FILE.1

All data files defined in the data dictionary are referenced by a FILE_ID known as an ALIAS. This file contains physical information about the data file, including file type, record size, file name on the disk, and creation date and time.

FILMSC.1

This contains application-dependent information about the file, including the names of default report programs and TAOS forms to use with this data. Included is PRO/5 code to be executed when opening or closing the file.

FILRUL.1

Rules are used by applications but are centralized in the data dictionary for more control. File rules define the conditions that allow records to be added to, or removed from, a data file. They also control the creation and deletion of the data file.

INDEX.1

This defines the key structure of a file. Indices may be defined as DEPENDENT (based on fields in the record), INDEPENDENT (traditional MKEYED key segments), or EXTERNAL (typically a SORT file).

LOCAT.1

Provides the link between FILE information and FIELD information. LOCAT contains information about the physical format of a field within a record, including data type, length, and field terminator.

FIELD.1

This contains logical information about a field, including a description, help file, and various application-specific parameters.

FLDRUL.1

Field rules define default validation and search functions for each field.

TYPDEF.1

A table of user-defined data types, based on the predefined types: C, N, I, U, F, D, B, X, or Y to specify various field parameters once, then define all fields that use that information in terms of the typedef.

TYPRUL.1

Typedef rules match field rules. Users can implement Typedef rules to define default rules based on field types.

RULE.1

The RULE file stores the code to be executed based on rules named in FILRUL, FLDRUL, and TYPRUL.