ds_mode values
The following values are defined for the ds_mode column of the DATASETS Client control table:
Value
|
Name
|
Description
|
0
|
CLONE
|
Initial state of ds_mode before the data set is cloned.
|
1
|
FIXUP
|
Data extraction completed, fixup processing not completed.
|
2
|
NORMAL
|
Normal update tracking mode.
|
11
|
PRE-FIXUP
|
Data extraction completed, fixup processing cannot be done due to index creation errors or lack of an index.
|
12
|
INVALID-AA
|
AA values invalidated by a DMSII garbage collection reorganization.
|
31
|
NEEDREORG
|
The data set needs to be reorganized (DBV_MODE_NEEDREORG) and the redefine command has created scripts to make the relational database table match the new layout that resulted from the reorganization of the DMSII data set. You must run the reorganize command in order to run the reorganization scripts created by the redefine command.
|
33
|
REORGFAILED
|
The data set needs to be reorganized (DBV_MODE_REORGFAILED) and the scripts created by the redefine command for this data set failed when the reorganize command was run. In this case, you must manually update the table or reclone it.
|
In the case of DMSII reorganizations, the status_bits column in the DATASETS table is used instead. The DATABridge Client leaves the ds_mode column unchanged and sets the DS_Needs_Redefining bit (8) of the status_bits column of the DATASETS Client control table.
Following the initialization (purge) of a data set, the client is notified of the purge. The Client drops the tables for the data set and recreates them. If the auto_reclone configuration parameter has a value of False, the ds_mode of the data set is set to 2 and the index for the empty tables are created. This enables the normal update processing to repopulate the tables. Conversely, if the auto_reclone configuration parameter has a value of True, the ds_mode of the data set is set to 0 and the data set is recloned.
|