Introduction to DDL
Data Definition Language (DDL) Reference Manual — 426798-002
1 -5
Creating a Database
2. Run the DDL compiler using the source schema as the input file, or run DDL
interactively, submitting the source schema with a SOURCE command. In either
case, use the DICT or DICTN command to open the dictionary on a specified
volume and subvolume or on the default volume and subvolume. Optionally, you
can specify a print device to receive the compiler listing.
Creating a Database
You use DDL RECORD statements to define database files. If you specify a FUP
command in a source schema or interactively, DDL opens a FUP file, translates each
subsequent RECORD statement into FUP file creation commands, and writes the
commands to the open FUP file.
The FUP command file is an EDIT file. If you want to add to the FUP commands
generated by DDL, you can close the FUP file and then modify it with a text editor. For
example, you could create a partitioned file by adding the PART parameter to the FUP
Figure 1-2. Creating a Dictionary
PS TEXT EDIT
DDL
Source
Schema
Dictionary
Schema
Listing
10> TEDIT schema
DEF. . .
.
.
.
RECORD. . .
.
.
11> DDL / IN schema / DICT
or
11> DDL DICT
!?OUT $S.#printer
!?SOURCE schema
!EXIT
1
2
Build schema in EDIT file
Compile schema and create dictionary
VST002.vsd
Содержание DDL D40
Страница 36: ...Introduction to DDL Data Definition Language DDL Reference Manual 426798 002 1 14 Examining a Dictionary ...
Страница 66: ...Named Constants Data Definition Language DDL Reference Manual 426798 002 4 10 Standard SPI Constants ...
Страница 230: ...Dictionary Manipulation Statements Data Definition Language DDL Reference Manual 426798 002 8 14 SHOW USE OF Statement ...
Страница 370: ...Dictionary Maintenance Data Definition Language DDL Reference Manual 426798 002 10 24 Converting a Dictionary ...
Страница 456: ...Sample Schemas Data Definition Language DDL Reference Manual 426798 002 B 12 ASSNDDL Statements ...
Страница 470: ...DDL Data Translation Data Definition Language DDL Reference Manual 426798 002 C 14 ...
Страница 528: ...Dictionary Reports Data Definition Language DDL Reference Manual 426798 002 E 8 Requesting Reports ...
Страница 552: ...DDL Alignment Rules Data Definition Language DDL Reference Manual 426798 002 H 4 FIELDALIGN_SHARED8 Alignment Rules ...
Страница 576: ...Index Data Definition Language DDL Reference Manual 426798 002 Index 22 Special Characters ...