Table 5-1. File Attributes That Differ In Ddl And Fup - HP DDL D40 Reference Manual

Data definition language
Table of Contents

Advertisement

Definitions and Records
DDL file creation defaults and those of FUP differ in the following ways:
If file-creation is omitted, DDL assigns a file type as follows:
File Type
Key-sequenced
Unstructured
Entry-Sequenced
Relative
If you do not specify a file type in FUP, FUP automatically creates the file as
unstructured.
The default values for four DDL file creation attributes differ from the default
values assigned by FUP.
assigned by DDL to the values assigned by FUP.

Table 5-1. File Attributes That Differ in DDL and FUP

File Creation
Attributes
BLOCK
EXT
MAXEXTENTS
NO ODDUNSTR
Extent sizes in FUP are determined by file type and block or buffer size. The
default setting is generally either (1,1) or (2,2). For more information about how
FUP determines extent size, see the File Utility Program (FUP) Reference Manual.
Record Structure Guidelines
The following points are guidelines for structuring records:
Each group and field description within a record structure must have at least a
level number and a name. The level number must precede the name. Other
clauses, except level 88 and level 89 clauses, can follow in any order before the
first period in the description. Level 88 and level 89 clauses must follow the first
period, in any order.
A record structure must contain at least one field description.
A record structure can contain one or more group descriptions.
Data Definition Language (DDL) Reference Manual—426798-002
Condition
If the record has a primary key
If the record has no keys; an unstructured file can have
a SEQUENCE IS clause
If the record has one or more alternate keys and a
SEQUENCE IS clause but no primary key
If the record has one or more alternate keys but no
primary key or SEQUENCE IS clause
Table 5-1
File Type
Key-sequenced,
relative, or entry-
sequenced
All
All
Unstructured
5- 23
contrasts the values of these four attributes
DDL Default Value
4096
(4,32)
100
Odd
Key Assignment Syntax
FUP Default Value
4096
Varies
16
Even

Advertisement

Table of Contents
loading

Table of Contents