DBCLOSE

DBLOCK

DBUNLOCK

DBCONTROL

Access data

DBINFO

DBGET

DBPUT

DBUPDATE

DBDELETE

Information and status

DBINFO

DBEXPLAIN

DBERROR

Logging

DBBEGIN

DBMEMO

DBEND

TurboIMAGE/XL subprograms are used for storing and loading. Y ou must be the creator or know the maintenance passw ord to use them and y ou must be logged onto the account and group where the database resides. The subprograms are:

DBSTORE

DBRESTOR

DBLOAD

DBUNLOAD

Backing Up or Restructuring a Data Base

DBSTORE and DBRESTOR copy a database to and from magnetic tape or serial disc. They cop y the entire database, including the root ￿le. Y ou can use DBUNLOAD and DBLOAD to assist in restructuring a database, but they cop y only data, not the root ￿le or the data set structures.

Changing an Existing Data Base Design

You can change the design of an existing database without writing special programs to transfer data from the old one to the new one. T o restructure a database, follo w these steps:

1.Run DBUNLOAD , specifying the old database.2.Use the DBUTIL command PURGE to purge the old database.

3.Rede￿ne the database using the same database name and use DBSCHEMA to create a new root ￿le.

4.Use the DBUTIL command CREATE to create and initialize the new data sets.5.Run DBLOAD on the new database to put the old data in to it.

For detailed information on the t ypes of design changes you can make using this method, refer to TurboIMAGE/XL Reference Manual (30391-90050).

Data Management 7-17