Reload Command
The reload command enables you to restore the client control tables from a file that was created using the unload command.
Reload Format
|
The format of the reload command is as follows:
dbutility [signon options] reload datasource filename [dataset1, dataset2, ...]
Note: Client control table changes made since the tables were unloaded will be lost. Depending on what has changed, data table record could also be affected, requiring recloning.
|
List of Options
|
The list of options include -t, -T, -f, -k, and -v. The -v option enables a few additional displays. The -k option forces DATABridge to keep the stateinfo in the control tables for data sets that are in normal mode (ds_mode = 2) and that have client_fmt_level and item_count fields that remain unchanged (there is no reorganization involved).
|
Data Source
|
If a datasource of _ALL is specified, the DATABridge Client restores all data sources contained in the backup file. If a specific data source is specified, the DATABridge Client restores only the entries for that data source from the file. If this is further qualified by a data set list, the DATABridge Client restores only the entries for the data sets specified. Note that all the data sets specified in the list must already exist.
|
Sample Run
|
d:\dbridge\demodb>dbutility reload demodb demodb.cct 17:16:27 DATABridge Client version 6.1.0.0 [OCI/Oracle] 17:16:27 Copyright (C) 2010 by Attachmate Corporation 17:16:35 Reloading Control table entries for DataSource DEMODB from file "demodb.cct" 17:16:45 Control tables for DataSource DEMODB reloaded from file "demodb.cct"
|
|