Getting Started with TRANSACT (32247-90007)
181
B Entering the Database Definition
The following is an example of entering database and file definitions into the dictionary.
The IMAGE database ORDERS, KSAM file KCUST, and MPE files BATCHINV and
SHORTAGE which are all used by the examples of this manual, are the definitions entered
by this example. The example is also complete, that is it completely defines the files and
database.
The example shows the minimum data that must be added. The other data, such as
heading text, entry text, and edit masks, when entered helps to customize the application.
:file dict.pub=dict
:run dictdbm.pub.sys
DICTIONARY/3000 HP32244A.02.00 - (C) Hewlett-Packard Co. 1983
PASSWORD FOR DICT.PUB>
FORMS ENTRY(Y/N)?>
> repeat create file
FILE orders
LONG NAME
TYPE base
RESPONSIBILITY
DESCRIPTION
FILE customer
LONG NAME
TYPE mast
RESPONSIBILITY
DESCRIPTION
FILE order
LONG NAME
TYPE auto
RESPONSIBILITY
DESCRIPTION
FILE parts
LONG NAME
TYPE mast
RESPONSIBILITY