File architecture overview: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
Architecture Overview
Model 204 File Architecture Overview
 
A Model 204 file consists of one or more data sets. Each data set consists of
fixed-length physical records called pages.
 
All Model 204 files have the same page size,6184 bytes.
 
Internally, these pages are organized into tables:
 




==The components of a Model 204 File==
==The components of a Model 204 File==


=== Chart ===
=== Model 204 Tables ===
 
 
 




Line 10: Line 21:
=== File Control Table ===
=== File Control Table ===


[[FCT (File Architecture)|File Control Table]]
The [[FCT (File Architecture)|File Control Table]] Contains file parameter settings, data set or file definition names of all data sets in the file, the status of the file, and other control information. The FCT is 8 pages.
 
 
=== The Internal File Directory ===
 
[[File Architecture Table A|Table A]] contains three structures:


A dictionary of the fieldgroup / field names and their attributes.


Some attributes (notably 'CODED' require lists of values to be maintained. These lists are stored either in the FEW-VALUED or MANY-VALUED structures.


=== The Internal File Directory ===
Table A usually is small in relation to the rest of the file. The field name section in particular should be as small as possible to aid efficient access, especially if your site uses field name variables


[[File Architecture Table A|Table A]]





Revision as of 22:00, 12 March 2013

Model 204 File Architecture Overview

A Model 204 file consists of one or more data sets. Each data set consists of fixed-length physical records called pages.

All Model 204 files have the same page size,6184 bytes.

Internally, these pages are organized into tables:


The components of a Model 204 File

Model 204 Tables

File Control Table

The File Control Table Contains file parameter settings, data set or file definition names of all data sets in the file, the status of the file, and other control information. The FCT is 8 pages.


The Internal File Directory

Table A contains three structures:

A dictionary of the fieldgroup / field names and their attributes.

Some attributes (notably 'CODED' require lists of values to be maintained. These lists are stored either in the FEW-VALUED or MANY-VALUED structures.

Table A usually is small in relation to the rest of the file. The field name section in particular should be as small as possible to aid efficient access, especially if your site uses field name variables


Data

Record Structure

Table B

Table X

Table E


Indexing

Indexing

Table C

Table D (File Architecture)


Procedures

Table D