File architecture overview: Difference between revisions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
fixed-length physical records called pages. | fixed-length physical records called pages. | ||
All Model 204 files have the same page size,6184 bytes. | All Model 204 files have the same page size,6184 bytes. Internally, these pages are organized into tables: the [[FCT (File Architecture)|File Control Table]]; [[Table A (File Architecture)|Table A]]; [[Table B (File Architecture)|Table B]]; [[Table C (File Architecture)|Table C]]; [[Table D (File Architecture)|Table D]]; [[Table E(File Architecture)|Table E]]; and [[Table X (File Architecture)|Table X]] with any pages in the file, not allocated to one of these considered [[Freesize (File Architecture) | Freesize]]. | ||
Internally, these pages are organized into tables: | |||
Line 12: | Line 10: | ||
==The components of a Model 204 File== | ==The components of a Model 204 File== | ||
How do I imbed a picture? | |||
Line 26: | Line 24: | ||
=== The Internal File Directory === | === The Internal File Directory === | ||
[[File Architecture | [[Table A (File Architecture)|Table A]] contains three structures: | ||
A dictionary of the fieldgroup / field names and their attributes. | 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. | Some attributes (notably '[[CODED field attribute|CODED]]') require lists of values to be maintained. These lists are stored either in the [[FEW-VALUED field attribute|FEW-VALUED]] or [[MANY-VALUED field attribute|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 | 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 |
Revision as of 22:29, 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 File Control Table; Table A; Table B; Table C; Table D; Table E; and Table X with any pages in the file, not allocated to one of these considered Freesize.
The components of a Model 204 File
How do I imbed a picture?
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
Indexing