Data Definition Language (DDL) Reference Manual
Introduction to DDL
Data Definition Language (DDL) Reference Manual—529431-004
1-8
Creating a Database
the FUP program and its commands, see the File Utility Program (FUP) Reference
Manual.
You can also generate FUP file-creation commands from records previously stored in a
dictionary. To do this, open the dictionary and a FUP file, and use an OUTPUT
statement to select record definitions from the dictionary for translation to FUP file
creation commands.
Figure 1-3 on page 1-9 shows the steps for creating database files from DDL record
definitions stored in a dictionary:
1. Run the DDL compiler interactively, open the dictionary, and open the FUP
command file. Enter the OUTPUT RECORD statement, specifying records defined
in the dictionary. The DDL compiler reads the record definitions from the dictionary
and writes file creation commands for each specified record to the open FUP file.
2. (Optional Step). Exit from the DDL compiler and run the EDIT program to make
any changes you want to the FUP commands in the FUP file; or stay in the DDL
compiler, close the FUP file, use the EDIT command to modify the FUP file, and
then exit from the DDL compiler.
3. Run FUP with the FUP command file as the input file. FUP creates the database
files from the commands in the command file.
The files in a Guardian environment database are managed by the Enscribe record
manager. For more information about file structures and access methods, see the
Enscribe Programmer’s Guide.