TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)
80 Chapter3
Defining a Database
Schema Processor Operation
The Schema Processor can also be executed in batch mode. See "Schema Processor
Commands" later in this chapter.
Figure 3-2. Sample Schema Creation Session
1 :HELLO USER.ACCOUNT
HP3000 RELEASE: B.30.00 ... TUE, SEP 10, 1991, 1:49 PM
MPE/iX HP31900 B.08.14 Copyright (C) Hewlett-Packard 1987. ...
2 :EDITOR
HP32201A.00.00 EDIT/3000 TUE, SEP 10, 1991, 2:07 PM
(C) HEWLETT-PACKARD CO. 1985
3 /ADD
1 $PAGE "SCHEMA OF DATA BASE ORDERS"
2 $CONTROL ERRORS=5, BLOCKMAX=256
3 BEGIN DATABASE ORDERS;
.
.
.
59 END.
60 //
...
4 KEEP ORDERSSC
/EXIT
5 :FILE DBSLIST;DEV=LP
:FILE DBSTEXT=ORDERSSC
6 :RUN DBSCHEMA.PUB.SYS;PARM=3
HP30391C.03.02
NUMBER OF ERROR MESSAGES: 0
ROOT FILE ORDERS CREATED
END OF PROGRAM
:BYE
The Database Creator
The person who creates the root file is identified as the database creator and can
subsequently create and initialize the database. To do so, the database creator must log on
with the same account, user name, and group used to create the root file and execute the
TurboIMAGE/XL utility program DBUTIL. This program is described in chapter 8.