Dictionary Database Structure
Data Definition Language (DDL) Reference Manual — 426798-002
D -39
DICTRDF Fields
•
FILE-TYPE
−
contains a 1-character ASCII code that indicates the record's file type,
as follows:
•
FILE-DURATION
−
a value that indicates whether the file specified by FILE-NAME is
permanent, dynamically assigned, or temporary. FILE-DURATION values are:
P (permanent)
T (temporary)
A (assigned)
The default for this field is P.
•
FILE-CODE
−
this record's file code. The default value for a user-created file is 0.
•
FILE-CODE-OBJECT
−
if file code is defined by a constant, contains the object
number of the constant; otherwise, it is 0.
•
PRIMARY-EXTENT-SIZE
−
this record's primary file extent in pages. PRIMARY-
EXTENT-SIZE must be an integer from 1 through 65,535. The default primary
extent size for DDL is four pages. The extent size must be an integral multiple of
the file's block size (for a structured file) or buffer size (for an unstructured file).
For more information about extent sizes, see the Enscribe Programmer's Guide.
•
PRIMARY-EXTENT-OBJECT
−
if primary extent size is defined by a constant,
contains the object number of the constant; otherwise, it is 0.
•
SECONDARY-EXTENT-SIZE
−
this file's secondary extent in pages. SECONDARY-
EXTENT-SIZE must be an integer from 1 through 65,535. The default secondary
extent size for DDL is 32 pages. Like the primary extent size, the secondary extent
size must be an integral multiple of the file's block size (for a structured file) or
buffer size (for an unstructured file).
•
SECONDARY-EXTENT-SIZE-OBJECT
−
if secondary extent size is defined by a
constant, contains the object number of the constant; otherwise, it is 0.
•
REFRESH
−
contains the ASCII character Y (yes) or N (no) to indicate whether the
file's label will be copied to disk whenever the file's end-of-file value is changed.
The default for this field is N.
•
AUDIT
−
contains the ASCII character Y (yes) or N (no) to indicate whether a file is
audited by TMF. The default for this field is N.
•
BLOCK-SIZE
−
block size of a structured file in bytes. BLOCK-SIZE must be 512,
1,024, 2,048, or 4,096 bytes. The default block size for DDL is 4,096 bytes. For
information about block sizes, see the Enscribe Programmer's Guide.
Code
File Type
U
Unstructured
R
Relative
E
Entry-sequenced
K
Key-sequenced