Recloning Individual Data Sets

Use one of the following procedures to reclone data sets.

To reclone with a process command

  1. Set the current directory to the one you created for the data source (the directory from which you ran a generate command for the data source). Make sure that the directory contains the scripts for this data source.
  2. Set the ds_mode column (in the DATASETS Client Control table) to 0 for the data sets you want to clone by running a SQL command.
  3. Run the process command with the -y option, as follows:

    dbutility process -y datasource

    The -y option forces any data sets whose ds_mode is set to 11 or 12 to be recloned, in addition to the recloning data sets whose ds_mode is set to 0. After the data extraction process is complete for the data sets being recloned, DATABridge data tables whose active columns are set to 1 in their corresponding client control table (and whose ds_mode is set to 2) are updated.

To reclone with a clone command

  1. Set the current directory to the one you created for the data source (the directory from which you ran a generate command for the data source). Make sure that the directory contains the scripts for this data source.
  2. Set the parameter defer_fixup_phase to True to suspend audit file processing. If you don't do this, audit files will be processed twice, once for the data set you clone and once for all of the other data sets.
  3. Synchronize the tables by running a process command. Synchronization occurs when all data sets reach the same point in the audit trail.

For clone command syntax, see dbutility Commands.