TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)
Chapter 8 383
Using the Database Utilities
DBLOAD
DBLOAD
Loads data entries from the backup volume(s) created by the DBUNLOAD utility into data
sets of the database.
Operation
1 [:FILE DBLOAD[=filename] [;DEV=device] ]
2 :RUN DBLOAD.PUB.SYS
.
.
.
3 WHICH DATABASE? database name [/maint word]
WARNING: The LANGUAGE of the database is DIFFERENT from the
language found on the DBLOAD MEDIA. Continue DBLOAD operation?
(Y/N):
4 DATA SET m: x ENTRIES
.
.
.
5 END OF VOLUME n, y READ ERRORS RECOVERED
6 DBLOAD OPERATION COMPLETED
END OF PROGRAM
(Refer to "Operation Discussion" later in this section.)
The volume(s) must have been produced by the DBUNLOAD program, and the database name
on the volume must be exactly the same as the database name, or root file name, in the
current session or in the group and account of the job. DBLOAD issues an error message if
the database name or maintenance word specified is different from the DBUNLOAD file. In
addition, DBLOAD checks that the group and account specified is the same as that in the
DBUNLOAD file. To reload the identical data into the database, the DBUTIL ERASE command
must be used prior to DBLOAD unless the database has been purged and re-created.
Executing the >>ERASE command reinitializes the data sets to an empty state while
keeping the root file and data sets as catalogued MPE/iX files on the disk.
DBLOAD reads each entry from the backup volume and puts it into the respective data set
from which it was read by DBUNLOAD. If a data set in the receiving database is an automatic
master, no entries are directly put into it by DBLOAD, even though there are entries on the
volume associated with the data set's number. Automatic master entries are created as
needed in the normal fashion when entries are put into the detail data sets related to the
automatic master.