HP RPG/XL Programmer's Guide (30318-90001)

3-: 28
[ERROR: ] Click here to view figure.
Figure 3-22. The MARKET Database
Creating a TurboIMAGE Database
There are four steps to creating and loading data into a TurboIMAGE
database. First, you create a schema file that defines the database, its
data sets and data items. Next, you build the database by creating a
root file and then running DBUTIL. Finally, you write a program to load
data into the database. The next sections explain each of these steps in
detail.
Defining a TurboIMAGE Database Schema. The first step in creating a
TurboIMAGE database is to create the schema for it.
It is assumed that you are familiar with TurboIMAGE, and that you know
how to code the various entries to define the schema. You can use EDITOR
or any standard text processor to create the schema file. For
information on TurboIMAGE, see the
TurboIMAGE/XL Database Management
System
manual.
Figure 3-23 shows the schema that defines the MARKET database shown in
Figure 3-20. The data sets in MARKET are shaded for easy reference.